Skip to content

Commit b1df62f

Browse files
authored
Merge pull request #73 from ByteInternet/python3
Forwardport: Install python3 as default python executable
2 parents 39e6b2f + 88fc0db commit b1df62f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ci/build/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN apt-get update && \
3939
bash \
4040
jq \
4141
ca-certificates \
42+
python3 \
4243
wget \
4344
curl \
4445
openssl \
@@ -104,6 +105,9 @@ RUN curl -sS https://getcomposer.org/installer | php -- --2.2 --filename=compose
104105
# Use version 1 for main composer binary
105106
RUN rm -f /usr/local/bin/composer; ln -s /usr/local/bin/composer2 /usr/local/bin/composer
106107

108+
# Set python3 as default python executable
109+
RUN ln -s /usr/bin/python3 /usr/local/bin/python
110+
107111
# Copy container files
108112
COPY ./ci/build/files /
109113

0 commit comments

Comments
 (0)