This commit is contained in:
parent
cc429768fd
commit
b8b6d04023
@ -65,11 +65,12 @@ FROM php:${PHP_VERSION}
|
|||||||
ARG ENVIRONMENT=production
|
ARG ENVIRONMENT=production
|
||||||
|
|
||||||
# install system libs
|
# install system libs
|
||||||
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libzip
|
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libzip shadow
|
||||||
|
|
||||||
# Install apps
|
# Install apps
|
||||||
RUN apk add --no-cache wget curl bash git openssh supervisor nginx openssl zip
|
RUN apk add --no-cache wget curl bash git openssh supervisor nginx openssl zip
|
||||||
|
|
||||||
|
|
||||||
ENV DIR /var/www
|
ENV DIR /var/www
|
||||||
ENV DOCKERIZE_VERSION v0.6.1
|
ENV DOCKERIZE_VERSION v0.6.1
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
||||||
|
|
||||||
echo "Acutal environment: ${ENVIRONMENT}"
|
echo "Actual environment: ${ENVIRONMENT}"
|
||||||
|
|
||||||
if [ -f /usr/local/etc/php/php.ini-$ENVIRONMENT ]; then
|
if [ -f /usr/local/etc/php/php.ini-$ENVIRONMENT ]; then
|
||||||
mv /usr/local/etc/php/php.ini-$ENVIRONMENT /usr/local/etc/php/php.ini
|
mv /usr/local/etc/php/php.ini-$ENVIRONMENT /usr/local/etc/php/php.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user