This commit is contained in:
parent
24f3b2365a
commit
ccd0acd4ed
13
Dockerfile
13
Dockerfile
@ -54,16 +54,19 @@ 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 gnu-libiconv net-snmp libpng icu-libs libldap libpq libjpeg libwebp freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit \
|
RUN apk add --no-cache libintl c-client gnu-libiconv \
|
||||||
|
net-snmp libpng icu-libs libldap libpq libjpeg \
|
||||||
|
libwebp freetype libzip shadow sudo wget bash git \
|
||||||
|
openssh supervisor nginx openssl zip fluent-bit \
|
||||||
&& apk --no-cache upgrade && rm -rf /var/cache/apk/*
|
&& 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
|
||||||
|
|
||||||
# Install dockerize
|
# # Install dockerize
|
||||||
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
# RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
||||||
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
# && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
||||||
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
# && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
||||||
|
|
||||||
COPY --from=base-config /etc/supervisor /etc/supervisor
|
COPY --from=base-config /etc/supervisor /etc/supervisor
|
||||||
COPY --from=builder /usr/local/lib/php /usr/local/lib/php
|
COPY --from=builder /usr/local/lib/php /usr/local/lib/php
|
||||||
|
Loading…
Reference in New Issue
Block a user