CI: Minor updates to buster-gcc-ibt
PATCH 1/1 CI: Minor updates to buster-gcc-ibt
* Update from GCC 11.2 to 11.3
* Use python3-minimal instead of python
* Use --no-install-recommends, requiring ca-certificates, g++-multilib and build-essential to be listed explicitly
The resulting container is ~50M smaller
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
--- automation/build/debian/buster-gcc-ibt.dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
automation/build/debian/buster-gcc-ibt.dockerfile +7 -4
@@ -4,10 +4,12 @@ ENV DEBIAN_FRONTEND=noninteractive ENV USER root RUN apt-get update && \ - apt-get --quiet --yes install \ + apt-get --quiet --yes --no-install-recommends install \ bison \ build-essential \ + ca-certificates \ flex \ + g++-multilib \ libc6-dev-i386 \ libgmp-dev \ libisl-dev \
@@ -19,7 +21,7 @@ RUN apt-get update && \ RUN mkdir /build WORKDIR /build -RUN wget -q https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz -O - | tar xJ --strip=1 +RUN wget -q https://ftp.gnu.org/gnu/gcc/gcc-11.3.0/gcc-11.3.0.tar.xz -O - | tar xJ --strip=1 RUN wget -q https://xenbits.xen.org/people/andrewcoop/gcc-11.2-Add-fcf-check-attribute-yes-no.patch -O - | patch -p1 RUN ./configure \ --prefix=/opt/gcc-11-ibt \
@@ -53,13 +55,14 @@ RUN mkdir /build WORKDIR /build RUN apt-get update && \ - apt-get --quiet --yes install \ + apt-get --quiet --yes --no-install-recommends install \ bison \ + build-essential \ checkpolicy \ flex \ gawk \ make \ - python3 \ + python3-minimal \ && \ apt-get autoremove -y && \ apt-get clean && \
Signature · 1 line
2.30.2
Quoted 8 lines · Andrew Cooper
* Update from GCC 11.2 to 11.3
* Use python3-minimal instead of python
* Use --no-install-recommends, requiring ca-certificates, g++-multilib and build-essential to be listed explicitlyThe resulting container is ~50M smaller
Signed-off-by Andrew Cooper <[email protected]>
I assume you have tested this successfully.
Quoted 56 lines
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>--- automation/build/debian/buster-gcc-ibt.dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)automation/build/debian/buster-gcc-ibt.dockerfile +7
-4@@ -4,10 +4,12 @@ ENV DEBIAN_FRONTEND=noninteractive ENV USER root RUN apt-get update && \ - apt-get --quiet --yes install \ + apt-get --quiet --yes --no-install-recommends install \ bison \ build-essential \ + ca-certificates \ flex \ + g++-multilib \ libc6-dev-i386 \ libgmp-dev \ libisl-dev \@@ -19,7 +21,7 @@ RUN apt-get update && \ RUN mkdir /build WORKDIR /build -RUN wget -q https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz -O - | tar xJ --strip=1 +RUN wget -q https://ftp.gnu.org/gnu/gcc/gcc-11.3.0/gcc-11.3.0.tar.xz -O - | tar xJ --strip=1 RUN wget -q https://xenbits.xen.org/people/andrewcoop/gcc-11.2-Add-fcf-check-attribute-yes-no.patch -O - | patch -p1 RUN ./configure \ --prefix=/opt/gcc-11-ibt \@@ -53,13 +55,14 @@ RUN mkdir /build WORKDIR /build RUN apt-get update && \ - apt-get --quiet --yes install \ + apt-get --quiet --yes --no-install-recommends install \ bison \ + build-essential \ checkpolicy \ flex \ gawk \ make \ - python3 \ + python3-minimal \ && \ apt-get autoremove -y && \ apt-get clean && \Signature · 1 line
2.30.2