Skip to content

Commit b66f1c3

Browse files
committed
Build amd64 and arm64 image
Signed-off-by: Stefan Scherer <[email protected]>
1 parent 23e02b9 commit b66f1c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN pip install -r requirements.txt
77

88
# Run tests to validate app
99
FROM node:12-alpine AS app-base
10+
RUN apk add --no-cache python g++ make
1011
WORKDIR /app
1112
COPY app/package.json app/yarn.lock ./
1213
RUN yarn install

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ else
99
fi
1010

1111
docker buildx build \
12-
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
12+
--platform linux/amd64,linux/arm64 \
1313
-t docker/getting-started:latest \
1414
$( (( $WILL_PUSH == 1 )) && printf %s '--push' ) .

0 commit comments

Comments
 (0)