Skip to content

Commit 94a4099

Browse files
maennchenclaude
andcommitted
Force python symlink creation in test image
Newer Alpine images already ship /usr/bin/python with python3, so a plain ln -s fails the docker build with 'File exists'. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 1181cb1 commit 94a4099

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV LANG=C.UTF-8 TERM=xterm
88
RUN apk upgrade --update musl && \
99
apk add --no-cache autoconf automake bash bc build-base cmake curl git libtool make openssl python3 rsync unzip && \
1010
rm -rf /var/cache/apk/* && \
11-
ln -s /usr/bin/python3 /usr/bin/python
11+
ln -sf /usr/bin/python3 /usr/bin/python
1212

1313
RUN mkdir /build
1414
WORKDIR /build

0 commit comments

Comments
 (0)