feat: Build GCC natively and then merge the image (#2212)

This commit is contained in:
Ayaz Salikhov
2025-06-12 15:48:10 +01:00
committed by GitHub
parent d0b2a24a30
commit 276477c494
3 changed files with 96 additions and 17 deletions

View File

@@ -1,5 +1,4 @@
# TODO: change this when we are able to push gcc image to ghcr.io
FROM rippleci/clio_gcc:12.3.0 AS clio-gcc
FROM ghcr.io/xrplf/clio-gcc:12.3.0 AS clio-gcc
FROM ghcr.io/xrplf/clio-tools:latest AS clio-tools
FROM ghcr.io/xrplf/clio-clang:16

View File

@@ -4,7 +4,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETARCH
ARG UBUNTU_VERSION=20.04
ARG GCC_VERSION=12.3.0
ARG BUILD_VERSION=2
ARG BUILD_VERSION=3
RUN apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \