Skip to content

Commit

Permalink
enable community packages for riscv64
Browse files Browse the repository at this point in the history
These initially did not exist and where skipped to
not cause failures.

Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed Jan 26, 2022
1 parent 7ff0487 commit eda38da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ RUN <<-eof
set -e
mkdir -p /out/etc/apk/
echo https://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/main >> /out/etc/apk/repositories
if [ "${TARGETARCH}" != "riscv64" ]; then
echo https://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/community >> /out/etc/apk/repositories
fi
echo https://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/community >> /out/etc/apk/repositories
cp -a /etc/alpine-release /etc/issue /etc/os-release /out/etc/
echo $(xx-info alpine-arch) > /out/etc/apk/arch
apk add --no-cache --initdb -p /out --allow-untrusted alpine-keys
Expand Down

0 comments on commit eda38da

Please sign in to comment.