Skip to content

Commit

Permalink
feat: use Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mckadesorensen committed Sep 14, 2024
1 parent 54f9f0c commit 69ed7ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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
AMAZON_LINUX = $(DOCKER_COMMAND) amazonlinux:2
#AMAZON_LINUX = $(DOCKER_COMMAND) amazonlinux:2
DOCKER_DEPENDENCY_BUILDER = $(DOCKER_COMMAND) tea-dependency-builder
endif

Expand Down
2 changes: 1 addition & 1 deletion build/dependency_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mkdir -p $BUILD_DIR/python
cd $BUILD_DIR/python || exit

echo "Installing ${REQUIREMENTS_FILE}"
python3.11 -m pip install \
python3 -m pip install \
--upgrade \
-r "$REQUIREMENTS_FILE" \
--target $BUILD_DIR/python \
Expand Down
4 changes: 1 addition & 3 deletions build/lambda-ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
FROM amazonlinux:2

RUN pip install pip-tools
FROM amazonlinux:2

0 comments on commit 69ed7ea

Please sign in to comment.