Skip to content

Commit

Permalink
Use Python 3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Jun 23, 2024
1 parent b994857 commit 0aee223
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

## [Unreleased][]

[Unreleased]: https://github.com/reliablyhq/cli/compare/0.28.0...HEAD
[Unreleased]: https://github.com/reliablyhq/cli/compare/0.28.1...HEAD

## [0.28.1][]

[0.28.1]: https://github.com/reliablyhq/cli/compare/0.28.0...0.28.1

### Changed

* Use Python 3.12 in Dockerfile

## [0.28.0][]

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ COPY reliably_cli/ /home/svc/reliably_cli/

RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential curl git gcc && \
apt-get install -y python3.11 python3.11-dev python3-pip python3.11-venv && \
apt-get install -y python3.12 python3.12-dev python3-pip python3.12-venv && \
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - && \
export PATH=/root/.local/bin:$PATH && \
pdm config python.use_venv true && \
pdm venv create `which python3.12` && \
pdm sync -v --prod --no-editable -G chaostoolkit && \
chown --recursive svc:svc /home/svc && \
apt-get remove -y build-essential gcc git && \
Expand All @@ -23,7 +23,7 @@ RUN apt-get update && \
FROM ubuntu:rolling

RUN apt-get update && \
apt-get install -y python3.11 && \
apt-get install -y python3.12 && \
apt-get clean && rm -rf /var/lib/apt/lists/*

RUN groupadd -g 1001 svc && useradd -r -u 1001 -g svc svc
Expand Down

0 comments on commit 0aee223

Please sign in to comment.