Skip to content

Commit 2c240e3

Browse files
authored
[skip ci] Add 3.9 layer images (#1005)
1 parent 52e551e commit 2c240e3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

building/build-lambda-layers.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ docker run \
3434
--rm \
3535
awswrangler-build-py38 \
3636
build-lambda-layer.sh "${VERSION}-py3.8" "ninja-build"
37+
38+
# Python 3.9
39+
docker run \
40+
--volume "$DIR_NAME":/aws-data-wrangler/ \
41+
--workdir /aws-data-wrangler/building/lambda \
42+
--rm \
43+
awswrangler-build-py39 \
44+
build-lambda-layer.sh "${VERSION}-py3.9" "ninja-build"

building/lambda/build-docker-images.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,12 @@ docker build \
2828
--build-arg py_dev=python38-devel \
2929
.
3030

31+
# Python 3.9
32+
docker build \
33+
--pull \
34+
--tag awswrangler-build-py39 \
35+
--build-arg base_image=public.ecr.aws/sam/build-python3.9:latest \
36+
--build-arg py_dev=python39-devel \
37+
.
38+
3139
rm -rf pyproject.toml poetry.lock

0 commit comments

Comments
 (0)