File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,13 +7,22 @@ ARG USER_HOME=/home/default
77ARG USER_ID=1000
88ARG USER_GECOS=Default
99
10- SHELL ["/bin/ash" , "-eo" , "pipefail" , "-c" ]
11-
12- # hadolint ignore=DL3018
13- RUN apk --update --no-cache add bash curl gnupg \
14- && rm -rf /var/cache/apk/* \
15- # create gpg directory to prevent keyboxd to automagically start, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
16- && mkdir /root/.gnupg \
10+ SHELL ["/bin/ash" , "-euo" , "pipefail" , "-c" ]
11+
12+ # hadolint ignore=DL3019
13+ RUN apk -U upgrade \
14+ && apk add \
15+ bash=5.2.37-r0 \
16+ curl=8.12.1-r0 \
17+ gnupg=2.4.7-r0 \
18+ && if apk -u list | grep -q -e . ; then \
19+ apk -u list ; \
20+ exit 1 ; \
21+ fi \
22+ && rm -rf /var/cache/apk/*
23+
24+ # create gpg directory to prevent keyboxd to automagically start, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
25+ RUN mkdir /root/.gnupg \
1726 && chmod 700 /root/.gnupg \
1827 && gpg --list-keys \
1928 && gpgconf --kill all
You can’t perform that action at this time.
0 commit comments