Skip to content

Commit 56f422a

Browse files
committed
replace true parameters by false as the default
1 parent 58d6d8e commit 56f422a

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

php-fpm/Dockerfile-56

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4040
# xDebug:
4141
#####################################
4242

43-
ARG INSTALL_XDEBUG=true
43+
ARG INSTALL_XDEBUG=false
4444
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
4545
# Install the xdebug extension
4646
pecl install xdebug && \
@@ -54,7 +54,7 @@ COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
5454
# MongoDB:
5555
#####################################
5656

57-
ARG INSTALL_MONGO=true
57+
ARG INSTALL_MONGO=false
5858
RUN if [ ${INSTALL_MONGO} = true ]; then \
5959
# Install the mongodb extension
6060
pecl install mongodb && \
@@ -65,7 +65,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
6565
# ZipArchive:
6666
#####################################
6767

68-
ARG INSTALL_ZIP_ARCHIVE=true
68+
ARG INSTALL_ZIP_ARCHIVE=false
6969
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
7070
# Install the zip extension
7171
pecl install zip && \
@@ -76,7 +76,7 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
7676
# PHP Memcached:
7777
#####################################
7878

79-
ARG INSTALL_MEMCACHED=true
79+
ARG INSTALL_MEMCACHED=false
8080
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
8181
# Install the php memcached extension
8282
pecl install memcached && \
@@ -87,7 +87,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
8787
# PHP Aerospike:
8888
#####################################
8989

90-
ARG INSTALL_AEROSPIKE_EXTENSION=true
90+
ARG INSTALL_AEROSPIKE_EXTENSION=false
9191
ENV INSTALL_AEROSPIKE_EXTENSION ${INSTALL_AEROSPIKE_EXTENSION}
9292
# Copy aerospike configration for remote debugging
9393
COPY ./aerospike.ini /usr/local/etc/php/conf.d/aerospike.ini
@@ -108,7 +108,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
108108
#####################################
109109
# Opcache:
110110
#####################################
111-
ARG INSTALL_OPCACHE=true
111+
ARG INSTALL_OPCACHE=false
112112
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
113113
docker-php-ext-install opcache && \
114114
docker-php-ext-enable opcache \

php-fpm/Dockerfile-70

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4040
# xDebug:
4141
#####################################
4242

43-
ARG INSTALL_XDEBUG=true
43+
ARG INSTALL_XDEBUG=false
4444
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
4545
# Install the xdebug extension
4646
pecl install xdebug && \
@@ -54,7 +54,7 @@ COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
5454
# MongoDB:
5555
#####################################
5656

57-
ARG INSTALL_MONGO=true
57+
ARG INSTALL_MONGO=false
5858
RUN if [ ${INSTALL_MONGO} = true ]; then \
5959
# Install the mongodb extension
6060
pecl install mongodb && \
@@ -65,7 +65,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
6565
# ZipArchive:
6666
#####################################
6767

68-
ARG INSTALL_ZIP_ARCHIVE=true
68+
ARG INSTALL_ZIP_ARCHIVE=false
6969
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
7070
# Install the zip extension
7171
pecl install zip && \
@@ -76,7 +76,7 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
7676
# PHP Memcached:
7777
#####################################
7878

79-
ARG INSTALL_MEMCACHED=true
79+
ARG INSTALL_MEMCACHED=false
8080
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
8181
# Install the php memcached extension
8282
curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz" \
@@ -98,7 +98,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
9898
# PHP Aerospike:
9999
#####################################
100100

101-
ARG INSTALL_AEROSPIKE_EXTENSION=true
101+
ARG INSTALL_AEROSPIKE_EXTENSION=false
102102
ENV INSTALL_AEROSPIKE_EXTENSION ${INSTALL_AEROSPIKE_EXTENSION}
103103
# Copy aerospike configration for remote debugging
104104
COPY ./aerospike.ini /usr/local/etc/php/conf.d/aerospike.ini
@@ -119,7 +119,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
119119
#####################################
120120
# Opcache:
121121
#####################################
122-
ARG INSTALL_OPCACHE=true
122+
ARG INSTALL_OPCACHE=false
123123
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
124124
docker-php-ext-install opcache && \
125125
docker-php-ext-enable opcache \

workspace/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4545
#####################################
4646

4747
# Check if xDebug needs to be installed
48-
ARG INSTALL_XDEBUG=true
48+
ARG INSTALL_XDEBUG=false
4949
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
5050
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
5151
# Load the xdebug extension only with phpunit commands
@@ -66,7 +66,7 @@ COPY ./xdebug.ini /etc/php/7.0/cli/conf.d/xdebug.ini
6666
# See: https://github.com/phusion/baseimage-docker#enabling_ssh
6767
ADD insecure_id_rsa /tmp/id_rsa
6868
ADD insecure_id_rsa.pub /tmp/id_rsa.pub
69-
ARG INSTALL_WORKSPACE_SSH=true
69+
ARG INSTALL_WORKSPACE_SSH=false
7070
ENV INSTALL_WORKSPACE_SSH ${INSTALL_WORKSPACE_SSH}
7171
RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \
7272
rm -f /etc/service/sshd/down && \
@@ -84,7 +84,7 @@ RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \
8484
#####################################
8585

8686
# Check if Mongo needs to be installed
87-
ARG INSTALL_MONGO=true
87+
ARG INSTALL_MONGO=false
8888
ENV INSTALL_MONGO ${INSTALL_MONGO}
8989
RUN if [ ${INSTALL_MONGO} = true ]; then \
9090
# Install the mongodb extension
@@ -114,7 +114,7 @@ RUN chown -R laradock:laradock /home/laradock/.composer
114114
USER laradock
115115

116116
# Check if global install need to be ran
117-
ARG COMPOSER_GLOBAL_INSTALL=true
117+
ARG COMPOSER_GLOBAL_INSTALL=false
118118
ENV COMPOSER_GLOBAL_INSTALL ${COMPOSER_GLOBAL_INSTALL}
119119
RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
120120
# run the install
@@ -126,7 +126,7 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
126126
#####################################
127127
USER root
128128
ENV DRUSH_VERSION 8.1.2
129-
ARG INSTALL_DRUSH=true
129+
ARG INSTALL_DRUSH=false
130130
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
131131
RUN if [ ${INSTALL_DRUSH} = true ]; then \
132132
# Install Drush 8 with the phar file.
@@ -144,7 +144,7 @@ USER laradock
144144
# Check if NVM needs to be installed
145145
ARG NODE_VERSION=stable
146146
ENV NODE_VERSION ${NODE_VERSION}
147-
ARG INSTALL_NODE=true
147+
ARG INSTALL_NODE=false
148148
ENV INSTALL_NODE ${INSTALL_NODE}
149149
ENV NVM_DIR /home/laradock/.nvm
150150
RUN if [ ${INSTALL_NODE} = true ]; then \
@@ -177,7 +177,7 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
177177
# PHP Aerospike:
178178
#####################################
179179
USER root
180-
ARG INSTALL_AEROSPIKE_EXTENSION=true
180+
ARG INSTALL_AEROSPIKE_EXTENSION=false
181181
ENV INSTALL_AEROSPIKE_EXTENSION ${INSTALL_AEROSPIKE_EXTENSION}
182182
# Copy aerospike configration for remote debugging
183183
COPY ./aerospike.ini /etc/php/7.0/cli/conf.d/aerospike.ini

0 commit comments

Comments
 (0)