Skip to content

Commit 5ac5363

Browse files
committed
WIP: fix build
1 parent a3ee71c commit 5ac5363

File tree

4 files changed

+132
-11
lines changed

4 files changed

+132
-11
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
python-impl:
2424
- python
2525
python-version:
26-
- '3.10'
2726
- '3.11'
2827
- '3.12'
2928
steps:

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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
33
ARG 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
88
ARG PYTHON
99
# install runtime first deps to speedup the dev deps and because layers will be reused on stage-1
1010
RUN 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
1313
RUN 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
2727
FROM python:$PYTHON-slim-$DEBIAN
2828
ARG PYTHON
2929
RUN 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
3131
COPY --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

0 commit comments

Comments
 (0)