Skip to content

Commit 39d1686

Browse files
committed
feat: unpin docker version and add wheel + setuptools
docker-library/python#954
1 parent 104c03b commit 39d1686

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim@sha256:59c7332a4a24373861c4a5f0eec2c92b87e3efeb8ddef011744ef9a751b1d11c AS builder
1+
FROM python:3.12-slim AS builder
22

33
ARG EXPORT_FLAG=--dev
44

@@ -9,7 +9,7 @@ COPY pyproject.toml poetry.toml poetry.lock ./
99
RUN poetry export -f requirements.txt $EXPORT_FLAG --without-hashes --output /tmp/requirements.txt
1010

1111

12-
FROM python:3.12-slim@sha256:59c7332a4a24373861c4a5f0eec2c92b87e3efeb8ddef011744ef9a751b1d11c
12+
FROM python:3.12-slim
1313

1414
RUN apt-get update && \
1515
apt upgrade -y

poetry.lock

Lines changed: 36 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ django-prometheus = "^2.3.1"
5151
pymediawiki = "^0.7.4"
5252
pgvector = "^0.2.4"
5353
mistralai = "^0.0.12"
54+
setuptools = "^74.1.1"
55+
wheel = "^0.44.0"
5456

5557
[tool.poetry.dev-dependencies]
5658
bandit = "^1.7.3"

0 commit comments

Comments
 (0)