This commit is contained in:
parent
7b125fcf3e
commit
69903dd873
@ -50,10 +50,8 @@ ARG ENVIRONMENT=production
|
|||||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update
|
||||||
|
|
||||||
# install system libs
|
# install system libs
|
||||||
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit
|
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit \
|
||||||
|
&& apk --no-cache upgrade && rm -rf /var/cache/apk/*
|
||||||
# force apk upgrade, clear apk cache
|
|
||||||
RUN apk --no-cache upgrade && rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
ENV DIR /var/www
|
ENV DIR /var/www
|
||||||
ENV DOCKERIZE_VERSION v0.6.1
|
ENV DOCKERIZE_VERSION v0.6.1
|
||||||
@ -78,7 +76,7 @@ RUN wget -O /bin/cachetool http://gordalina.github.io/cachetool/downloads/cachet
|
|||||||
RUN chmod a+x /bin/cachetool
|
RUN chmod a+x /bin/cachetool
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
RUN mkdir -p /var/www
|
RUN mkdir -p ${DIR}
|
||||||
|
|
||||||
WORKDIR $DIR
|
WORKDIR $DIR
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
||||||
PHP_MODULES=("calendar" "bcmath" "bz2" "curl" "fileinfo" "gd" "gettext" "iconv" "imap" "intl" "ldap" "mbstring" "opcache" "pcntl" "pdo" "pdo_mysql" "pdo_pgsql" "pdo_sqlite" "pgsql" "phar" "session" "simplexml" "soap" "xml")
|
PHP_MODULES=("calendar" "bcmath" "bz2" "curl" "fileinfo" "gd" "gettext" "iconv" "imap" "intl" "ldap" "mbstring" "opcache" "pcntl" "pdo" "pdo_mysql" "pdo_pgsql" "pdo_sqlite" "pgsql" "phar" "session" "simplexml" "soap" "xml", "zip")
|
||||||
|
|
||||||
#
|
#
|
||||||
# Helper functions
|
# Helper functions
|
||||||
|
Loading…
Reference in New Issue
Block a user