Skip to content

Commit e35bb85

Browse files
committed
Clean up logged warnings from Docker build
1 parent 3456b20 commit e35bb85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ RUN \
4646
rm -rf /var/lib/apt/lists/*
4747

4848
# disable checks for `pip` upgrades (we're upgrading anyway)
49-
ENV PIP_DISABLE_PIP_VERSION_CHECK 1
49+
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
5050
# don't write .pyc files
5151
# https://stackoverflow.com/questions/59732335/is-there-any-disadvantage-in-using-pythondontwritebytecode-in-docker
52-
ENV PYTHONDONTWRITEBYTECODE 1
52+
ENV PYTHONDONTWRITEBYTECODE=1
5353
# ensures console output is not buffered by Docker
54-
ENV PYTHONUNBUFFERED 1
54+
ENV PYTHONUNBUFFERED=1
5555

5656
RUN python -m pip --version
57-
RUN python -m pip install pip --upgrade
58-
RUN python -m pip install setuptools wheel build --upgrade
57+
RUN python -m pip install pip --upgrade --root-user-action
58+
RUN python -m pip install setuptools wheel build --upgrade --root-user-action
5959

6060
# store Python Version; used for image tagging
6161
# ARG needs to be declared here, and above any FROM line

0 commit comments

Comments
 (0)