Skip to content

Commit

Permalink
bump to python 3.12
Browse files Browse the repository at this point in the history
Co-authored-by: Mircea Ulinic <[email protected]>
  • Loading branch information
duhow and mirceaulinic authored Mar 25, 2024
1 parent d10a171 commit 6c18bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
FROM scratch AS installer
COPY ./ /var/cache/napalm/

FROM python:3.9-slim
FROM python:3.12-slim-bookworm

RUN --mount=type=bind,from=installer,source=/var/cache/napalm,target=/var/cache/napalm,rw \
apt-get update && \
apt-get install -y \
python3.9-dev libxslt1-dev libssl-dev libffi-dev && \
python3-dev libxslt1-dev libssl-dev libffi-dev && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/* && \
pip --no-cache-dir install -U cffi cryptography /var/cache/napalm/
Expand Down

0 comments on commit 6c18bba

Please sign in to comment.