about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-04-16 11:49:41 -0700
committerJosh Stone <jistone@redhat.com>2023-04-16 11:50:20 -0700
commit6fe2406155183f0b46022b60a997adc67f9d1c2a (patch)
tree43eccd6d9e40ed09f378b542a57e34a028bca782
parent33036159a4cf4972c8f8f149c9088c581da89f85 (diff)
downloadrust-6fe2406155183f0b46022b60a997adc67f9d1c2a.tar.gz
rust-6fe2406155183f0b46022b60a997adc67f9d1c2a.zip
Test python2.7 in dist-x86_64-illumos
-rw-r--r--src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile b/src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile
index 2089bf38716..55fefd2b725 100644
--- a/src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile
+++ b/src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile
@@ -6,12 +6,13 @@ RUN sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list
 COPY scripts/cross-apt-packages.sh /tmp/
 RUN bash /tmp/cross-apt-packages.sh
 
-# Required for cross-build gcc
+# Required for cross-build gcc, and we install python2 to test general compatibility.
 RUN apt-get update && \
     apt-get install -y --no-install-recommends \
     libgmp-dev \
     libmpfr-dev \
     libmpc-dev \
+    python2.7 \
     && rm -rf /var/lib/apt/lists/*
 
 COPY scripts/illumos-toolchain.sh /tmp/
@@ -35,4 +36,4 @@ ENV \
 ENV HOSTS=x86_64-unknown-illumos
 
 ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
-ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
+ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS