|
|
@ -1,4 +1,5 @@
|
|
|
|
# First stage to build assets
|
|
|
|
# First stage to build assets
|
|
|
|
|
|
|
|
ARG DISTRO=alpine:3.10
|
|
|
|
ARG ARCH=""
|
|
|
|
ARG ARCH=""
|
|
|
|
FROM ${ARCH}node:8 as assets
|
|
|
|
FROM ${ARCH}node:8 as assets
|
|
|
|
COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
|
|
|
COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
|
|
@ -13,7 +14,6 @@ RUN mkdir static \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Actual application
|
|
|
|
# Actual application
|
|
|
|
ARG DISTRO=alpine:3.10
|
|
|
|
|
|
|
|
FROM $DISTRO
|
|
|
|
FROM $DISTRO
|
|
|
|
# python3 shared with most images
|
|
|
|
# python3 shared with most images
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
RUN apk add --no-cache \
|
|
|
|