Skip to content

Commit

Permalink
[WIP] s2i and general extendability support
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorak committed Oct 21, 2017
1 parent 7d394a1 commit c0da988
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 5.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM centos:centos7
FROM centos/s2i-core-centos7

# MySQL image for OpenShift.
#
Expand All @@ -11,6 +11,7 @@ FROM centos:centos7
# * $MYSQL_ROOT_PASSWORD (Optional) - Password for the 'root' MySQL account

ENV MYSQL_VERSION=5.7 \
APP_DATA=/opt/app-root/src \
HOME=/var/lib/mysql

ENV SUMMARY="MySQL 5.7 SQL database server" \
Expand Down Expand Up @@ -38,7 +39,7 @@ EXPOSE 3306
RUN yum install -y yum-utils && \
yum install -y centos-release-scl && \
yum-config-manager --enable centos-sclo-rh-testing && \
INSTALL_PKGS="rsync tar gettext hostname bind-utils rh-mysql57" && \
INSTALL_PKGS="rsync tar gettext hostname bind-utils groff-base shadow-utils rh-mysql57" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum clean all && \
Expand Down

0 comments on commit c0da988

Please sign in to comment.