Skip to content

Commit 4fe7cdb

Browse files
committed
Cleanup CI images, add distro release and version
1 parent 4adcdd4 commit 4fe7cdb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker/debian/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ EOF
131131
# Explicitly set the compiler flags and the distribution name and version.
132132
RUN <<EOF
133133
cat >> $(conan config home)/global.conf <<EOT
134-
tools.info.package_id:confs+=["RHEL", "${RHEL_VERSION}"]
134+
tools.info.package_id:confs+=["Debian", "${DEBIAN_VERSION}"]
135135
tools.build:compiler_executables={"c": "${CC}", "cpp": "${CXX}"}
136136
EOT
137137
EOF
@@ -212,7 +212,7 @@ EOF
212212
# Explicitly set the compiler flags and the distribution name and version.
213213
RUN <<EOF
214214
cat >> $(conan config home)/global.conf <<EOT
215-
tools.info.package_id:confs+=["RHEL", "${RHEL_VERSION}"]
215+
tools.info.package_id:confs+=["Debian", "${DEBIAN_VERSION}"]
216216
tools.build:compiler_executables={"c": "${CC}", "cpp": "${CXX}"}
217217
EOT
218218
EOF

docker/ubuntu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ EOF
115115
# Explicitly set the compiler flags and the distribution name and version.
116116
RUN <<EOF
117117
cat >> $(conan config home)/global.conf <<EOT
118-
tools.info.package_id:confs+=["RHEL", "${RHEL_VERSION}"]
118+
tools.info.package_id:confs+=["Ubuntu", "${UBUNTU_VERSION}"]
119119
tools.build:compiler_executables={"c": "${CC}", "cpp": "${CXX}"}
120120
EOT
121121
EOF
@@ -191,7 +191,7 @@ EOF
191191
# Explicitly set the compiler flags and the distribution name and version.
192192
RUN <<EOF
193193
cat >> $(conan config home)/global.conf <<EOT
194-
tools.info.package_id:confs+=["RHEL", "${RHEL_VERSION}"]
194+
tools.info.package_id:confs+=["Ubuntu", "${UBUNTU_VERSION}"]
195195
tools.build:compiler_executables={"c": "${CC}", "cpp": "${CXX}"}
196196
EOT
197197
EOF

0 commit comments

Comments
 (0)