buildx
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Aleksander Cynarski 2022-06-04 22:44:39 +02:00
parent 24f3b2365a
commit ccd0acd4ed
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

@ -54,16 +54,19 @@ ARG ENVIRONMENT=production
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update
# 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/*
ENV DIR /var/www
ENV DOCKERIZE_VERSION v0.6.1
# Install dockerize
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 \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
# # Install dockerize
# 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 \
# && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
COPY --from=base-config /etc/supervisor /etc/supervisor
COPY --from=builder /usr/local/lib/php /usr/local/lib/php