We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pip-compile
1 parent 2c194e8 commit 9a6a1daCopy full SHA for 9a6a1da
1 file changed
docs/user-guide/pip-compile/Dockerfile
@@ -4,4 +4,11 @@
4
# Note: impossible to rely on v3.13.14 (missing 'cache_clear' function error)
5
FROM docker.io/python:3.12.11-alpine@sha256:c610e4a94a0e8b888b4b225bfc0e6b59dee607b1e61fb63ff3926083ff617216
6
7
-RUN pip install pip-tools
+RUN addgroup -S pip && \
8
+ adduser --system --disabled-password --shell /sbin/nologin pip
9
+
10
+ENV PATH="${PATH}:/home/pip/.local/bin"
11
12
+USER pip
13
14
+RUN pip install --user pip-tools
0 commit comments