Skip to content

Commit

Permalink
Stabilze php5 and php7 for alpine
Browse files Browse the repository at this point in the history
Removed redis and memcached module (not available)
  • Loading branch information
mblaschke committed Jan 8, 2017
1 parent 62c52b8 commit 1b53a3b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 16 deletions.
1 change: 1 addition & 0 deletions conf/console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ dockerTest:
OS_FAMILY: 'alpine'
OS_VERSION: '3'
PHP_MHASH: '0'
PHP_REDIS: '0'
':ubuntu-12.04':
OS_FAMILY: 'ubuntu'
OS_VERSION: '12.04'
Expand Down
4 changes: 1 addition & 3 deletions docker/bootstrap/alpine-3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ ADD baselayout.tar /
RUN set -x \
# Fix root terminal
&& echo "export TERM=xterm" >> /root/.bashrc \
# Add testing
&& echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories \
# Add community
&& echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
&& echo http://dl-4.alpinelinux.org/alpine/v3.5/community/ >> /etc/apk/repositories \
# System update
&& /usr/local/bin/apk-upgrade \
# Install base stuff
Expand Down
5 changes: 2 additions & 3 deletions docker/php/alpine-3-php7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ RUN /usr/local/bin/apk-install \
php7-mysqlnd \
php7-pdo_mysql \
php7-pdo_sqlite \
php7-memcached \
php7-mcrypt \
php7-gd \
php7-bcmath \
Expand Down Expand Up @@ -60,8 +59,8 @@ RUN /usr/local/bin/apk-install \
php7-xsl \
geoip \
php7-ldap \
#php7-memcache \
php7-redis \
# php7-memcache \
# php7-redis \
php7-pear \
php7-phar \
php7-openssl \
Expand Down
3 changes: 1 addition & 2 deletions docker/php/alpine-3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ RUN /usr/local/bin/apk-install \
php5-mysqli \
php5-pdo_mysql \
php5-pdo_sqlite \
php5-memcached \
php5-mcrypt \
php5-gd \
php5-bcmath \
Expand Down Expand Up @@ -62,7 +61,7 @@ RUN /usr/local/bin/apk-install \
geoip \
php5-ldap \
php5-memcache \
php5-redis \
# php5-redis \
php5-pear \
php5-phar \
php5-openssl \
Expand Down
4 changes: 1 addition & 3 deletions template/Dockerfile/images/bootstrap.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
RUN set -x \
# Fix root terminal
&& echo "export TERM=xterm" >> /root/.bashrc \
# Add testing
&& echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories \
# Add community
&& echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
&& echo http://dl-4.alpinelinux.org/alpine/v3.5/community/ >> /etc/apk/repositories \
# System update
&& /usr/local/bin/apk-upgrade \
# Install base stuff
Expand Down
3 changes: 1 addition & 2 deletions template/Dockerfile/images/php5.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RUN /usr/local/bin/apk-install \
php5-mysqli \
php5-pdo_mysql \
php5-pdo_sqlite \
php5-memcached \
php5-mcrypt \
php5-gd \
php5-bcmath \
Expand Down Expand Up @@ -47,7 +46,7 @@ RUN /usr/local/bin/apk-install \
geoip \
php5-ldap \
php5-memcache \
php5-redis \
# php5-redis \
php5-pear \
php5-phar \
php5-openssl \
Expand Down
5 changes: 2 additions & 3 deletions template/Dockerfile/images/php7.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RUN /usr/local/bin/apk-install \
php7-mysqlnd \
php7-pdo_mysql \
php7-pdo_sqlite \
php7-memcached \
php7-mcrypt \
php7-gd \
php7-bcmath \
Expand Down Expand Up @@ -45,8 +44,8 @@ RUN /usr/local/bin/apk-install \
php7-xsl \
geoip \
php7-ldap \
#php7-memcache \
php7-redis \
# php7-memcache \
# php7-redis \
php7-pear \
php7-phar \
php7-openssl \
Expand Down

0 comments on commit 1b53a3b

Please sign in to comment.