forked from extern/homer
Fix multiarch docker build.
This commit is contained in:
parent
e6701f57cc
commit
525120de61
@ -1,4 +1,11 @@
|
||||
FROM alpine AS builder
|
||||
|
||||
# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261
|
||||
ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz
|
||||
RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1
|
||||
|
||||
FROM arm32v7/alpine:3.11
|
||||
COPY --from=builder qemu-aarch64-static /usr/bin
|
||||
|
||||
COPY ./ /www/
|
||||
|
||||
|
@ -1,4 +1,11 @@
|
||||
FROM alpine AS builder
|
||||
|
||||
# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261
|
||||
ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz
|
||||
RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1
|
||||
|
||||
FROM arm64v8/alpine:3.11
|
||||
COPY qemu-arm-static /usr/bin
|
||||
|
||||
COPY ./ /www/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user