We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c38dea commit 9bb66f1Copy full SHA for 9bb66f1
docker/ubuntu/Dockerfile
@@ -211,6 +211,16 @@ conan profile detect
211
rm -rf /tmp/*
212
EOF
213
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
+
224
# Explicitly set the compiler flags.
225
RUN <<EOF
226
cat >> $(conan config home)/global.conf <<EOT
0 commit comments