chore: update and upgrade require the cache.

This commit is contained in:
Robert Wlodarczyk 2023-06-24 14:39:30 -07:00
parent ac49cae228
commit c7a835217c

View File

@ -13,8 +13,8 @@ ENV RQ_VERSION=1.0.2
WORKDIR /usr/bin/rq/ WORKDIR /usr/bin/rq/
#hadolint ignore=DL3018 #hadolint ignore=DL3018
RUN apk update --quiet --no-cache && \ RUN apk update --quiet && \
apk upgrade --quiet --no-cache && \ apk upgrade --quiet && \
apk add --quiet --no-cache \ apk add --quiet --no-cache \
upx && \ upx && \
rm /var/cache/apk/* && \ rm /var/cache/apk/* && \
@ -36,8 +36,8 @@ LABEL org.opencontainers.image.title="crontab" \
ENV HOME_DIR=/opt/crontab ENV HOME_DIR=/opt/crontab
#hadolint ignore=DL3018 #hadolint ignore=DL3018
RUN apk update --quiet --no-cache && \ RUN apk update --quiet && \
apk upgrade --quiet --no-cache && \ apk upgrade --quiet && \
apk add --quiet --no-cache \ apk add --quiet --no-cache \
bash \ bash \
coreutils \ coreutils \