@@ -58,8 +58,7 @@ RUN pipx install --pip-args='--no-cache' conan==${CONAN_VERSION} && \
5858# ====================== GCC IMAGE ======================
5959FROM base AS gcc
6060
61- # These are not inherited from base image.
62- ARG UBUNTU_VERSION
61+ # This is not inherited from the base image.
6362ARG DEBIAN_FRONTEND=noninteractive
6463
6564# Install GCC and create the necessary symlinks. We only support packaging with
@@ -119,16 +118,6 @@ conan profile detect
119118rm -rf /tmp/*
120119EOF
121120
122- # Add the distribution name and version, so they can be taken into account when
123- # building dependencies. This requires setting the `os` field in the activated
124- # profile where this image is used to the appropriate value.
125- RUN <<EOF
126- cat >> $(conan config home)/settings_user.yml <<EOT
127- os:
128- ubuntu-${UBUNTU_VERSION}:
129- EOT
130- EOF
131-
132121# Explicitly set the compiler flags.
133122RUN <<EOF
134123cat >> $(conan config home)/global.conf <<EOT
150139# ===================== CLANG IMAGE =====================
151140FROM base AS clang
152141
153- # These are not inherited from base image.
154- ARG UBUNTU_VERSION
142+ # This is not inherited from the base image.
155143ARG DEBIAN_FRONTEND=noninteractive
156144
157145# Install Clang. Some build dependencies require GCC to be also available.
@@ -211,16 +199,6 @@ conan profile detect
211199rm -rf /tmp/*
212200EOF
213201
214- # Add the distribution name and version, so they can be taken into account when
215- # building dependencies. This requires setting the `os` field in the activated
216- # profile where this image is used to the appropriate value.
217- RUN <<EOF
218- cat >> $(conan config home)/settings_user.yml <<EOT
219- os:
220- ubuntu-${UBUNTU_VERSION}:
221- EOT
222- EOF
223-
224202# Explicitly set the compiler flags.
225203RUN <<EOF
226204cat >> $(conan config home)/global.conf <<EOT
0 commit comments