From d07ee3a6f114fd9a59b63e53fff76a547c05c85d Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 14 Dec 2019 11:48:21 +0100 Subject: [PATCH] updating arm32v6 Dockerfile to alpine --- .dockerignore | 6 ++++++ docker/arm32v6/{debian-stretch => alpine}/Dockerfile | 4 ++-- docker/arm32v6/{debian-stretch => alpine}/hooks/pre_build | 0 3 files changed, 8 insertions(+), 2 deletions(-) rename docker/arm32v6/{debian-stretch => alpine}/Dockerfile (95%) rename docker/arm32v6/{debian-stretch => alpine}/hooks/pre_build (100%) diff --git a/.dockerignore b/.dockerignore index 4204c803..0a82b23c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,3 +8,9 @@ docs/ out-tsc/ test/ docker/ +.travis.yml +config.json +karma.conf.js +protractor.conf.js +Procfile +.*ignore diff --git a/docker/arm32v6/debian-stretch/Dockerfile b/docker/arm32v6/alpine/Dockerfile similarity index 95% rename from docker/arm32v6/debian-stretch/Dockerfile rename to docker/arm32v6/alpine/Dockerfile index 4cadc2c5..bee49905 100644 --- a/docker/arm32v6/debian-stretch/Dockerfile +++ b/docker/arm32v6/alpine/Dockerfile @@ -3,7 +3,7 @@ RUN apk add --no-cache wget && \ wget https://github.com/multiarch/qemu-user-static/releases/download/v4.1.1-1/x86_64_qemu-arm-static.tar.gz && \ tar -xvf x86_64_qemu-arm-static.tar.gz -FROM arm32v6/node:12-stretch AS builder +FROM arm32v6/node:12-alpine AS builder COPY --from=qemu-builder /qemu-arm-static /usr/bin # LABEL maintainer="Patrik J. Braun" # copying only package{-lock}.json to make node_modules cachable @@ -26,7 +26,7 @@ RUN mkdir -p /build/release/data/config && \ --Server-Thumbnail-folder='data/tmp' || true -FROM arm32v6/node:12-stretch-slim +FROM arm32v6/node:12-alpine COPY --from=qemu-builder /qemu-arm-static /usr/bin WORKDIR /app ENTRYPOINT ["npm", "start"] diff --git a/docker/arm32v6/debian-stretch/hooks/pre_build b/docker/arm32v6/alpine/hooks/pre_build similarity index 100% rename from docker/arm32v6/debian-stretch/hooks/pre_build rename to docker/arm32v6/alpine/hooks/pre_build