aboutsummaryrefslogtreecommitdiff
path: root/jammy-arm64-tcwg-base
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-11-25 16:32:18 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-11-25 16:32:18 +0000
commit9b96d74213c229d91023d5ff91112a16dee4861a (patch)
tree45d41f4a9b936a9acb69c53c29604c46491f545d /jammy-arm64-tcwg-base
parentd6c02d755a9279cc449a341c5f6deadc3ca8c12f (diff)
tcwg-base: Make "repo" happy
Symlink python to python3. Change-Id: I5f5a43e2e209de0e901dcec668cfae6192fcd968
Diffstat (limited to 'jammy-arm64-tcwg-base')
-rw-r--r--jammy-arm64-tcwg-base/Dockerfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/jammy-arm64-tcwg-base/Dockerfile b/jammy-arm64-tcwg-base/Dockerfile
index 802f665c..3a88c72c 100644
--- a/jammy-arm64-tcwg-base/Dockerfile
+++ b/jammy-arm64-tcwg-base/Dockerfile
@@ -92,7 +92,9 @@ RUN apt-get update \
python3-pandas \
python3-numpy \
python3-scipy \
-# Focal doesn't have "repo" package.
+# Focal doesn't have "repo" package. We also symlink python to python3
+# below solely to make upstream repo, which is downloaded by distro's repo,
+# happy.
repo \
rsync \
subversion \
@@ -215,6 +217,9 @@ RUN git clone https://github.com/rovka/libpgmath-binaries.git \
RUN wget https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-aarch64.sh \
&& chmod +x cmake-3.24.2-linux-aarch64.sh \
&& ./cmake-3.24.2-linux-aarch64.sh --prefix=/usr/local --skip-license
+# Symlink python to python3 to make upstream "repo", which is downloaded
+# by distro's repo, happy.
+RUN ln -s /usr/bin/python3 /usr/bin/python
COPY home-data/ /home-data/
COPY new-user.sh nvidia-power-cycle.sh nvidia-serial.sh /usr/local/bin/
RUN \
@@ -236,4 +241,4 @@ VOLUME /tmp
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
# This is a dummy comment to trigger a base image rebuild.
-# checksum: 9658110498b61bd37fdcf415ba993978
+# checksum: 7a0eb651f29d9df0d22f85b5448753b0