From b66f1c3224574396666c2d21f23f676388dfd1cb Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Thu, 10 Dec 2020 12:34:01 +0100 Subject: [PATCH] Build amd64 and arm64 image Signed-off-by: Stefan Scherer --- Dockerfile | 1 + build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c46ec45..60fce0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN pip install -r requirements.txt # Run tests to validate app FROM node:12-alpine AS app-base +RUN apk add --no-cache python g++ make WORKDIR /app COPY app/package.json app/yarn.lock ./ RUN yarn install diff --git a/build.sh b/build.sh index 9d655df..9e2f53b 100755 --- a/build.sh +++ b/build.sh @@ -9,6 +9,6 @@ else fi docker buildx build \ - --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \ + --platform linux/amd64,linux/arm64 \ -t docker/getting-started:latest \ $( (( $WILL_PUSH == 1 )) && printf %s '--push' ) .