Skip to content

Commit

Permalink
Update docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
larose committed Jan 12, 2024
1 parent b92d357 commit f7cda21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ test.unit:
test.integration: clean build
cp dist/utt-*-py3-none-any.whl $(INTEGRATION_DIR)

python -c 'import sys; print(f"FROM python:{sys.version_info.major}.{sys.version_info.minor}-buster")' > $(GENERATED_DOCKERFILE)
python -c 'import sys; print(f"FROM python:{sys.version_info.major}.{sys.version_info.minor}-slim-bullseye")' > $(GENERATED_DOCKERFILE)
cat $(TEMPLATE_DOCKERFILE) >> $(GENERATED_DOCKERFILE)
docker build --tag $(TEST_DOCKER_IMAGE) --file $(GENERATED_DOCKERFILE) $(INTEGRATION_DIR)
docker run --rm $(TEST_DOCKER_IMAGE) $(INTEGRATION_CMD)

0 comments on commit f7cda21

Please sign in to comment.