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 /etc/nginx /etc/nginx
|
||||
|
||||
RUN apk add -U --no-cache \
|
||||
RUN apk update \
|
||||
&& apk upgrade \
|
||||
&& apk add -U --no-cache \
|
||||
bash \
|
||||
openssl \
|
||||
pcre \
|
||||
|
|
|
@ -27,9 +27,12 @@ LABEL org.opencontainers.image.version="${VERSION}"
|
|||
|
||||
WORKDIR /etc/nginx
|
||||
|
||||
RUN apk add -U --no-cache \
|
||||
RUN apk update \
|
||||
&& apk upgrade \
|
||||
&& apk add -U --no-cache \
|
||||
diffutils \
|
||||
libcap
|
||||
libcap \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY --chown=www-data:www-data . /
|
||||
|
||||
|
|
Loading…
Reference in a new issue