Skip to content

Commit

Permalink
Use amazonlinux:2
Browse files Browse the repository at this point in the history
  • Loading branch information
gjclark committed Sep 13, 2024
1 parent 6197108 commit 54f9f0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Makefile.config:
include Makefile.config

ifdef DOCKER_COMMAND
DOCKER_LAMBDA_CI = $(DOCKER_COMMAND) lambci/lambda:build-python3.11 # TODO(gjclark): This is gonna go when we use the AWS AmazonLinux image
AMAZON_LINUX = $(DOCKER_COMMAND) amazonlinux:2
DOCKER_DEPENDENCY_BUILDER = $(DOCKER_COMMAND) tea-dependency-builder
endif

Expand Down Expand Up @@ -106,7 +106,7 @@ $(BUILD_VENV): requirements/requirements-make.txt
$(DIR)/thin-egress-app-dependencies.zip: requirements/requirements.txt $(REQUIREMENTS_DEPS)
rm -rf $(DIR)/python
@mkdir -p $(DIR)/python
$(DOCKER_LAMBDA_CI) build/dependency_builder.sh "$(DIR)/thin-egress-app-dependencies.zip" "$(DIR)"
$(AMAZON_LINUX) build/dependency_builder.sh "$(DIR)/thin-egress-app-dependencies.zip" "$(DIR)"

.SECONDARY: $(DIST_MD_RESOURCES)
$(DIST_MD_RESOURCES): $(DIR)/code/%.html: %.md $(BUILD_VENV)
Expand Down
4 changes: 2 additions & 2 deletions build/lambda-ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM lambci/lambda:build-python3.9
FROM amazonlinux:2

RUN pip install pip-tools
RUN pip install pip-tools

0 comments on commit 54f9f0c

Please sign in to comment.