Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docker/php-official/5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -222,7 +223,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/5.6/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/5.6/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -227,7 +228,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.0/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/7.0/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENV APPLICATION_USER=application \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV LD_PRELOAD="/usr/lib/preloadable_libiconv.so"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -242,7 +243,8 @@ RUN set -x \
libmemcached-dev \
yaml-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.1-alpine/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }} {# Check if needed #}
{{ environment.phpAlpineIconvWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -227,7 +228,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.1/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/7.1/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENV APPLICATION_USER=application \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV LD_PRELOAD="/usr/lib/preloadable_libiconv.so"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -246,7 +247,8 @@ RUN set -x \
libmemcached-dev \
yaml-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.2-alpine/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }} {# Check if needed #}
{{ environment.phpAlpineIconvWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -226,7 +227,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.2/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/7.2/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.3-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENV APPLICATION_USER=application \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV LD_PRELOAD="/usr/lib/preloadable_libiconv.so"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -246,7 +247,8 @@ RUN set -x \
libmemcached-dev \
yaml-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.3-alpine/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }} {# Check if needed #}
{{ environment.phpAlpineIconvWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -230,7 +231,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.3/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/7.3/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.4-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENV APPLICATION_USER=application \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV LD_PRELOAD="/usr/lib/preloadable_libiconv.so"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -246,7 +247,8 @@ RUN set -x \
libmemcached-dev \
yaml-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.4-alpine/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }} {# Check if needed #}
{{ environment.phpAlpineIconvWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -229,7 +230,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/7.4/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/7.4/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENV APPLICATION_USER=application \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV LD_PRELOAD="/usr/lib/preloadable_libiconv.so"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -248,7 +249,8 @@ RUN set -x \
libmemcached-dev \
yaml-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/8.0-alpine/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }} {# Check if needed #}
{{ environment.phpAlpineIconvWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
4 changes: 3 additions & 1 deletion docker/php-official/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV APPLICATION_USER=application \
APPLICATION_UID=1000 \
APPLICATION_GID=1000
ENV PHP_SENDMAIL_PATH="/usr/sbin/sendmail -t -i"
ENV COMPOSER_VERSION="2"


# Baselayout copy (from staged image)
Expand Down Expand Up @@ -218,7 +219,8 @@ RUN set -x \
librabbitmq-dev \
libmagick++-dev \
&& rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \
# Enable php services
&& docker-service enable syslog \
&& docker-service enable cron \
Expand Down
1 change: 1 addition & 0 deletions docker/php-official/8.0/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{ environment.base() }}
{{ environment.baseApp() }}
{{ environment.phpOfficialSendmailWorkaround() }}
{{ environment.phpComposerVersion() }}

{{ baselayout.copy() }}

Expand Down
3 changes: 3 additions & 0 deletions docker/php-official/8.0/conf/provision/entrypoint.d/20-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ if [[ -n "${PHP_DISMOD+x}" ]]; then
rm -f ${ini_dir_fpm}/*${DISABLE_MOD}*
done
fi

# Link composer version accordingly
ln -s /usr/local/bin/composer${COMPOSER_VERSION:-2} /usr/local/bin/composer
Loading