Corrected missing arch specs

This commit is contained in:
Simon Beginn 2020-09-10 17:40:28 +02:00
parent c04382d200
commit 9d2d5e0b06
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ FROM alpine AS builder
RUN apk add curl && curl -L "https://github.com/balena-io/qemu/releases/download/v4.0.0%2Bbalena2/qemu-4.0.0.balena2-arm.tar.gz" | tar zxvf - -C . --strip-components 1
# Switch to the target image
FROM alpine:3.12
FROM arm32v7/alpine:3.12
# Import qemu from the preparation
COPY --from=builder qemu-arm-static /usr/bin

View File

@ -3,7 +3,7 @@ FROM alpine AS builder
RUN apk add curl && curl -L "https://github.com/balena-io/qemu/releases/download/v4.0.0%2Bbalena2/qemu-4.0.0.balena2-aarch64.tar.gz" | tar zxvf - -C . --strip-components 1
# Switch to the target image
FROM alpine:3.12
FROM arm64v8/alpine:3.12
# Import qemu from the preparation
COPY --from=builder qemu-aarch64-static /usr/bin