Skip to content

Commit f97159b

Browse files
fix: avoid test Docker crash
This avoids the following error that appeared in Jenkins tests.Dockerfile:17 -------------------- 15 | && rm -rf /var/lib/apt/lists/* 16 | 17 | >>> RUN ln -s /usr/bin/python3 /usr/bin/python 18 | 19 | RUN mkdir -p /etc/apt/keyrings && \ -------------------- ERROR: failed to build: failed to solve: process "/bin/sh -c ln -s /usr/bin/python3 /usr/bin/python" did not complete successfully: exit code: 1 [Pipeline] }
1 parent 5cc1cc3 commit f97159b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_assets/ci/tests.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends --fix-missing
1414
openssh-client \
1515
&& rm -rf /var/lib/apt/lists/*
1616

17-
RUN ln -s /usr/bin/python3 /usr/bin/python
17+
RUN ln -sf /usr/bin/python3 /usr/bin/python
1818

1919
RUN mkdir -p /etc/apt/keyrings && \
2020
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \

0 commit comments

Comments
 (0)