File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ RUN chmod 777 . && \
78
78
chmod 755 /root && \
79
79
chmod -R 777 /.npm
80
80
81
- # install basic (global) tools to final image
82
- RUN --mount=type=cache,target=/root/.cache \
83
- pip install --no-cache-dir --upgrade virtualenv
84
-
85
81
# install the entrypoint script
86
82
ADD bin/docker-entrypoint.sh /usr/local/bin/
87
83
# add the shipped hosts file to prevent performance degredation in windows container mode on windows
@@ -114,7 +110,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
114
110
115
111
# upgrade python build tools
116
112
RUN --mount=type=cache,target=/root/.cache \
117
- (virtualenv .venv && . .venv/bin/activate && pip3 install --upgrade pip wheel setuptools)
113
+ (python -m venv .venv && . .venv/bin/activate && pip3 install --upgrade pip wheel setuptools)
118
114
119
115
# add files necessary to install runtime dependencies
120
116
ADD Makefile pyproject.toml requirements-runtime.txt ./
You can’t perform that action at this time.
0 commit comments