Upgrade to debian Buster and disable python builder script

Upgrade to debian Buster slim (later to debian bullseye, crosstool-ng must be updated first, version 1.23 is not compatible with debian bullseye)
Disable python script (build-and-install-python.sh), the version of python in the repositories is recent enough for crosstool-ng 1.24 and above.
Changed from python to python3 for compatibility
Adding the manual launch of a github workflow

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-06-24 22:57:41 +02:00
committed by Jonas Vautherin
parent de7b1b0832
commit 8ebd448ba9
9 changed files with 53 additions and 37 deletions

View File

@ -16,12 +16,14 @@
# Install Debian packages required for `ct-ng`.
RUN apt-get update --yes && apt-get install --no-install-recommends --yes \
gawk \
gperf \
help2man \
python-dev \
texinfo \
&& apt-get clean --yes
gawk \
gperf \
help2man \
python3-dev \
texinfo \
&& apt-get clean autoclean --yes \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
ENV XCC_PREFIX=/usr/xcc
@ -33,6 +35,7 @@ ENV XCC_PREFIX=/usr/xcc
COPY \
imagefiles/install-crosstool-ng-toolchain.sh \
imagefiles/crosstool-ng-expat.patch \
imagefiles/Fix-error-with-bash-5-and-up.patch \
crosstool-ng.config \
/dockcross/