1
0
forked from 0ad/0ad

Add python-is-python3 to Debian CI

For the sake of vendored cxxtest. Distributions are advised to use
system cxxtest anyways.

From the package description:
This is a convenience package which ships a symlink to point the
/usr/bin/python interpreter at the current default python3. It may
improve compatibility with other modern systems, whilst breaking some
obsolete or 3rd-party software.

As this is a Debian Buster based CI and the package is only available
from Debian Bullseye forward do the symlinking manually instead.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser 2024-09-19 20:31:26 +02:00
parent b885be85b3
commit 3653df0531
Signed by: sera
SSH Key Fingerprint: SHA256:peL4nxsVEHY8tOsBHev85LILY2TqpfHeutw4LUbOFPQ

View File

@ -38,6 +38,9 @@ RUN apt-get -qqy update && apt-get install -qqy --no-install-recommends \
zlib1g-dev \ zlib1g-dev \
&& apt-get clean && apt-get clean
# From bullseye forward this is done by installing the package python-is-python3
RUN ln -s /usr/bin/python3 /usr/bin/python
# Install git-lfs # Install git-lfs
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt-get -qqy update && apt-get install -qqy --no-install-recommends git-lfs RUN apt-get -qqy update && apt-get install -qqy --no-install-recommends git-lfs