Skip to content

Commit 25ef187

Browse files
committed
try setting DOCKER_DEFAULT_PLATFORM=linux/amd64
1 parent de4406b commit 25ef187

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
aws-region: ${{ env.AWS_REGION }}
6363
- name: Cloud Based Integration Tests
6464
run: |
65+
export DOCKER_DEFAULT_PLATFORM=linux/amd64
6566
sam build
6667
sam deploy --resolve-image-repos
6768
mvn clean test -B -q -Dtest.cloud.enabled=true -Dtest=CloudBasedIntegrationTest

examples/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM --platform=linux/amd64 amazoncorretto:17-alpine AS builder
2+
FROM amazoncorretto:17-alpine AS builder
33

44
# Install Maven
55
RUN apk add --no-cache maven

0 commit comments

Comments
 (0)