Skip to content

Commit

Permalink
TECH: Update Alpine trusted keys to allow package fetching
Browse files Browse the repository at this point in the history
Fix for UNTRUSTED signature when attempting to install a package (like fwup)
  • Loading branch information
scaneer authored Jul 22, 2022
1 parent 978d8fb commit 7e809c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/nerves_hub_api/rel/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ RUN mix release nerves_hub_api --overwrite
# Release Container
FROM nerveshub/runtime:alpine-${ALPINE_VERSION} as release
ENV FWUP_VERSION=${FWUP_VERSION}
RUN apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.12/main -u alpine-keys
RUN apk add 'fwup~=1.9' \
--repository http://nl.alpinelinux.org/alpine/edge/community/ \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
--no-cache

RUN apk --no-cache add xdelta3 zip unzip
Expand Down
3 changes: 2 additions & 1 deletion apps/nerves_hub_device/rel/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ RUN mix release nerves_hub_device --overwrite

# Release Container
FROM nerveshub/runtime:alpine-${ALPINE_VERSION} as release
RUN apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.12/main -u alpine-keys

RUN apk add 'fwup~=1.9' \
--repository http://nl.alpinelinux.org/alpine/edge/community/ \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
--no-cache

RUN apk --no-cache add xdelta3 zip unzip
Expand Down
3 changes: 2 additions & 1 deletion apps/nerves_hub_www/rel/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ RUN mix do phx.digest, release nerves_hub_www --overwrite

# Release Container
FROM nerveshub/runtime:alpine-${ALPINE_VERSION} as release
RUN apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.12/main -u alpine-keys

RUN apk add 'fwup~=1.9' \
--repository http://nl.alpinelinux.org/alpine/edge/community/ \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
--no-cache

RUN apk --no-cache add xdelta3 zip unzip
Expand Down

0 comments on commit 7e809c1

Please sign in to comment.