Skip to content

Commit

Permalink
Try specifying 3.12 with apt
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Dec 10, 2024
1 parent a55b5b7 commit 383c4c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/combine_deploy_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:
registry: public.ecr.aws
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Specify python version
uses: actions/[email protected]
with:
python-version: "3.12"
- name: Build combine_deploy
uses: docker/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
############################################################

# User guide build environment
FROM python:3.12.7-slim-bookworm AS user_guide_builder
FROM python:3.12.8-slim-bookworm AS user_guide_builder

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM ubuntu:22.04
USER root

RUN apt-get update && \
apt-get install -y python3 python3-pip nano curl openssh-client iputils-ping && \
apt-get install -y python3.12 python3-pip nano curl openssh-client iputils-ping && \
apt-get autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 383c4c2

Please sign in to comment.