File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323 python-impl :
2424 - python
2525 python-version :
26- - ' 3.10'
2726 - ' 3.11'
2827 - ' 3.12'
2928 steps :
Original file line number Diff line number Diff line change 11# before changing these variables, make sure the tag $PYTHON-alpine$ALPINE exists first
22# list of valid tags hese: https://hub.docker.com/_/python
33ARG PYTHON=3.11
4- ARG DEBIAN=bullseye
4+ ARG DEBIAN=bookworm
55
66# stage-0: copy pyproject.toml/poetry.lock and install the production set of dependencies
7- FROM python:$PYTHON-slim-$DEBIAN as stage-0
7+ FROM python:$PYTHON-slim-$DEBIAN AS stage-0
88ARG PYTHON
99# install runtime first deps to speedup the dev deps and because layers will be reused on stage-1
1010RUN apt-get -qy update
11- RUN apt-get -qy install libssl1.1 graphviz librocksdb6.11
11+ RUN apt-get -qy install libssl3 graphviz librocksdb7.8
1212# dev deps for this build start here
1313RUN apt-get -qy install libssl-dev libffi-dev build-essential zlib1g-dev libbz2-dev libsnappy-dev liblz4-dev librocksdb-dev cargo git pkg-config
1414# install all deps in a virtualenv so we can just copy it over to the final image
@@ -27,7 +27,7 @@ RUN poetry run pip install dist/hathor-*.whl
2727FROM python:$PYTHON-slim-$DEBIAN
2828ARG PYTHON
2929RUN apt-get -qy update
30- RUN apt-get -qy install libssl1.1 graphviz librocksdb6.11
30+ RUN apt-get -qy install libssl3 graphviz librocksdb7.8
3131COPY --from=stage-0 /app/.venv/lib/python${PYTHON}/site-packages/ /usr/local/lib/python${PYTHON}/site-packages/
3232# XXX: copy optional BUILD_VERSION file using ...VERSIO[N] instead of ...VERSION* to ensure only one file will be copied
3333# XXX: also copying the README.md because we need at least one existing file
You can’t perform that action at this time.
0 commit comments