Skip to content

Commit

Permalink
chore: update Apline versions (#49)
Browse files Browse the repository at this point in the history
- Use latest alpine for headers/fetch jobs
- Update docker-node keys for branch rename
- use latest Alpine for Musl builder image
  • Loading branch information
nschonni committed Jan 4, 2022
1 parent a3ebafc commit 93d9d15
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions recipes/fetch-source/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.9
FROM alpine:latest

ARG GID=1000
ARG UID=1000
Expand All @@ -8,7 +8,7 @@ RUN addgroup -g $GID node \

RUN apk add --no-cache bash gnupg curl

RUN for key in $(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/master/keys/node.keys) \
RUN for key in $(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/HEAD/keys/node.keys) \
; do \
gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || \
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; \
Expand Down
2 changes: 1 addition & 1 deletion recipes/fetch-source/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ config_flags=

cd /home/node

gpg_keys=$(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/master/keys/node.keys)
gpg_keys=$(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/HEAD/keys/node.keys)

for key in ${gpg_keys}; do
gpg --list-keys "$key" ||
Expand Down
4 changes: 2 additions & 2 deletions recipes/headers/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.9
FROM alpine:latest

ARG GID=1000
ARG UID=1000
Expand All @@ -8,7 +8,7 @@ RUN addgroup -g $GID node \

RUN apk add --no-cache bash gnupg curl

RUN for key in $(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/master/keys/node.keys) \
RUN for key in $(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/HEAD/keys/node.keys) \
; do \
gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || \
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; \
Expand Down
2 changes: 1 addition & 1 deletion recipes/headers/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config_flags=

cd /home/node

gpg_keys=$(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/master/keys/node.keys)
gpg_keys=$(curl -sL https://raw.githubusercontent.com/nodejs/docker-node/HEAD/keys/node.keys)

for key in ${gpg_keys}; do
gpg --list-keys "$key" ||
Expand Down
2 changes: 1 addition & 1 deletion recipes/musl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.9
FROM alpine:3.15

ARG GID=1000
ARG UID=1000
Expand Down

0 comments on commit 93d9d15

Please sign in to comment.