Skip to content

Commit 9bb66f1

Browse files
committed
Add missing block
1 parent 7c38dea commit 9bb66f1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docker/ubuntu/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,16 @@ conan profile detect
211211
rm -rf /tmp/*
212212
EOF
213213

214+
# Add the distribution name and version, so they are taken into account when
215+
# building dependencies.
216+
RUN <<EOF
217+
cat >> $(conan config home)/settings_user.yml <<EOT
218+
os:
219+
ubuntu-${UBUNTU_VERSION}:
220+
EOT
221+
sed -i "s/os=Linux/os=ubuntu-${UBUNTU_VERSION}/g" $(conan config home)/profiles/default
222+
EOF
223+
214224
# Explicitly set the compiler flags.
215225
RUN <<EOF
216226
cat >> $(conan config home)/global.conf <<EOT

0 commit comments

Comments
 (0)