We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365af49 commit 84d426eCopy full SHA for 84d426e
1 file changed
Dockerfile
@@ -45,6 +45,14 @@ RUN \
45
echo "[*] cleanup from apt" && \
46
rm -rf /var/lib/apt/lists/*
47
48
+# disable checks for `pip` upgrades (we're upgrading anyway)
49
+ENV PIP_DISABLE_PIP_VERSION_CHECK 1
50
+# don't write .pyc files
51
+# https://stackoverflow.com/questions/59732335/is-there-any-disadvantage-in-using-pythondontwritebytecode-in-docker
52
+ENV PYTHONDONTWRITEBYTECODE 1
53
+# ensures console output is not buffered by Docker
54
+ENV PYTHONUNBUFFERED 1
55
+
56
RUN python -m pip --version
57
RUN python -m pip install pip --upgrade
58
RUN python -m pip install setuptools wheel build --upgrade
0 commit comments