mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-24 01:12:06 +03:00
Fix arm64v8 Dockerfile
This commit is contained in:
parent
e89ee82365
commit
5728b5961f
@ -1,14 +1,14 @@
|
||||
FROM alpine:3.12 AS builder
|
||||
|
||||
# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261
|
||||
RUN QEMU_URL=https://github.com/balena-io/qemu/releases/download/v5.2.0%2Bbalena4/qemu-5.2.0.balena4-arm.tar.gz \
|
||||
RUN QEMU_URL=https://github.com/balena-io/qemu/releases/download/v5.2.0%2Bbalena4/qemu-5.2.0.balena4-aarch64.tar.gz \
|
||||
&& apk add curl && curl -L $QEMU_URL | tar zxvf - -C . --strip-components 1
|
||||
|
||||
# Start second (arm64v8) stage
|
||||
FROM arm64v8/alpine:3.12
|
||||
|
||||
# Add QEMU from build stage
|
||||
COPY --from=builder qemu-arm-static /usr/bin
|
||||
COPY --from=builder qemu-aarch64-static /usr/bin
|
||||
|
||||
# Install Node and Yarn
|
||||
RUN apk add --update --no-cache nodejs npm yarn
|
||||
|
Loading…
Reference in New Issue
Block a user