File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,12 @@ jobs:
120120 cp target/lambda/docbox-upload-completion-lambda/bootstrap.zip docbox-upload-completion-lambda.zip
121121 shell : bash
122122
123+ - name : Set up QEMU
124+ uses : docker/setup-qemu-action@v3
125+
126+ - name : Set up Docker Buildx
127+ uses : docker/setup-buildx-action@v3
128+
123129 # Build the docker layers
124130 - name : Build poppler layer
125131 run : |
Original file line number Diff line number Diff line change 22set -euo pipefail
33
44# Build the container
5- docker buildx build --build-arg BASE_IMAGE=public.ecr.aws/lambda/provided:al2023-arm64 --platform linux/arm64 -f ./layers/poppler.Dockerfile -t poppler-lambda-layer-arm64 ./layers
5+ docker buildx build --build-arg BASE_IMAGE=public.ecr.aws/lambda/provided:al2023-arm64 --platform linux/arm64 -f ./layers/poppler.Dockerfile -t poppler-lambda-layer-arm64 --load ./layers
66
77# Run a container and copy out the zip then delete it
88CONTAINER_ID=$( docker create --platform linux/arm64 poppler-lambda-layer-arm64)
You can’t perform that action at this time.
0 commit comments