Ensure alpine packages are up to date
This commit is contained in:
parent
b68839118f
commit
0f2496fc95
2 changed files with 9 additions and 4 deletions
|
@ -32,7 +32,9 @@ COPY --from=builder /usr/local /usr/local
|
||||||
COPY --from=builder /opt /opt
|
COPY --from=builder /opt /opt
|
||||||
COPY --from=builder /etc/nginx /etc/nginx
|
COPY --from=builder /etc/nginx /etc/nginx
|
||||||
|
|
||||||
RUN apk add -U --no-cache \
|
RUN apk update \
|
||||||
|
&& apk upgrade \
|
||||||
|
&& apk add -U --no-cache \
|
||||||
bash \
|
bash \
|
||||||
openssl \
|
openssl \
|
||||||
pcre \
|
pcre \
|
||||||
|
|
|
@ -27,9 +27,12 @@ LABEL org.opencontainers.image.version="${VERSION}"
|
||||||
|
|
||||||
WORKDIR /etc/nginx
|
WORKDIR /etc/nginx
|
||||||
|
|
||||||
RUN apk add -U --no-cache \
|
RUN apk update \
|
||||||
diffutils \
|
&& apk upgrade \
|
||||||
libcap
|
&& apk add -U --no-cache \
|
||||||
|
diffutils \
|
||||||
|
libcap \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY --chown=www-data:www-data . /
|
COPY --chown=www-data:www-data . /
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue