Skip to content

Commit 2ebbb43

Browse files
committed
Update the Swift 5.4 Dockerfiles to use python3
1 parent 13bce68 commit 2ebbb43

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

5.4/centos/7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN yum install shadow-utils.x86_64 -y \
1313
libicu-devel \
1414
libstdc++-static \
1515
pkg-config \
16-
python2 \
16+
python3 \
1717
sqlite \
1818
zlib-devel
1919

5.4/centos/8/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ RUN yum install --enablerepo=powertools -y \
1515
libicu-devel \
1616
libstdc++-static \
1717
pkg-config \
18-
python2 \
18+
python3 \
1919
sqlite \
2020
zlib-devel
2121

22-
RUN ln -s /usr/bin/python2 /usr/bin/python
22+
RUN ln -s /usr/bin/python3 /usr/bin/python
2323

2424
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
2525

5.4/ubuntu/16.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
1616
zlib1g-dev \
17-
libpython2.7 \
17+
libpython3.5 \
1818
tzdata \
1919
git \
2020
pkg-config \

5.4/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
1616
zlib1g-dev \
17-
libpython2.7 \
17+
libpython3.6 \
1818
tzdata \
1919
git \
2020
pkg-config \

5.4/ubuntu/20.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1111
libcurl4 \
1212
libedit2 \
1313
libgcc-9-dev \
14-
libpython2.7 \
14+
libpython3.8 \
1515
libsqlite3-0 \
1616
libstdc++-9-dev \
1717
libxml2 \

0 commit comments

Comments
 (0)