Skip to content

Commit f4a31ad

Browse files
committed
Fix dockerfile_templates/conan.txt where '--break-system-packages' was breaking docker build
1 parent c6c7e6c commit f4a31ad

File tree

1 file changed

+3
-3
lines changed
  • turludock/assets/dockerfile_templates

1 file changed

+3
-3
lines changed

turludock/assets/dockerfile_templates/conan.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
RUN apt-get update && apt-get install -y python3-pip && \
33
apt-get clean && rm -rf /var/lib/apt/lists/*
44

5-
RUN pip install --user --no-cache-dir --break-system-packages --upgrade pip && \
6-
pip install --user --no-cache-dir --break-system-packages --ignore-installed PyYAML && \
7-
pip install --user --no-cache-dir --break-system-packages conan
5+
RUN pip install --no-cache-dir --break-system-packages --upgrade pip || pip install --no-cache-dir --upgrade pip && \
6+
pip install --no-cache-dir --break-system-packages --ignore-installed PyYAML && \
7+
pip install --no-cache-dir --break-system-packages conan

0 commit comments

Comments
 (0)