Possible fix for arm autobuild

arm-autobuild-test
Tzahi12345 5 years ago
parent c9016f446d
commit 6cf7ea193a

@ -1,11 +1,15 @@
FROM arm32v7/alpine:3.12 as frontend
RUN apk add --no-cache \
npm
npm \
curl
RUN npm install -g @angular/cli
WORKDIR /build
RUN curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static .
COPY [ "package.json", "package-lock.json", "/build/" ]
RUN npm install
@ -17,7 +21,7 @@ RUN ng build --prod
FROM arm32v7/alpine:3.12
COPY qemu-arm-static /usr/bin
COPY --from=frontend /build/qemu-arm-static /usr/bin
ENV UID=1000 \
GID=1000 \

Loading…
Cancel
Save