Skip to content

Commit 0afdfff

Browse files
committed
[dockerfile] add comment
1 parent d56576e commit 0afdfff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ ENV WORKSPACE=/workspace
55
RUN mkdir -p ${WORKSPACE}
66
WORKDIR ${WORKSPACE}
77
COPY . ${WORKSPACE}
8+
# Required to bypass Python's protection on system-wide package installations in Ubuntu 23.04+.
9+
# This allows pip to install packages globally without using a virtual environment.
810
ENV PIP_BREAK_SYSTEM_PACKAGES=1
911
# Install and cleanup is done in one command to minimize the build cache size
1012
RUN apt-get update -qq \
@@ -30,4 +32,4 @@ RUN apt-get update -qq \
3032
# Build VTR
3133
RUN rm -rf build && make -j$(nproc) && make install
3234
# Container's default launch command
33-
SHELL ["/bin/bash", "-c"]
35+
SHELL ["/bin/bash", "-c"]

0 commit comments

Comments
 (0)