We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5b75e1 + 0859dd4 commit 407b4ecCopy full SHA for 407b4ec
Dockerfile
@@ -1,7 +1,7 @@
1
# https://docs.docker.com/engine/reference/builder/
2
3
# https://hub.docker.com/_/python/
4
-FROM python:3.11-slim
+FROM python:3.11
5
6
# Configure apt not to prompt during docker build
7
ARG DEBIAN_FRONTEND=noninteractive
@@ -18,6 +18,10 @@ ENV PYTHONUNBUFFERED=1
18
# https://docs.python.org/3.11/library/faulthandler.html
19
ENV PYTHONFAULTHANDLER=1
20
21
+# Python: force-enable pip's PEP 517 mode
22
+# https://github.com/pypa/pip/issues/6334
23
+ENV PIP_USE_PEP517=true
24
+
25
WORKDIR /root
26
27
# Configure apt to avoid installing recommended and suggested packages
0 commit comments