summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2020-03-25 11:22:42 +0200
committerPanu Matilainen <pmatilai@redhat.com>2020-03-26 11:57:58 +0200
commit5ae32f7b838b99bfb111ce9d9c13ffc160ff2d6c (patch)
treebdec57b82e3eeb068d22236af0663156a2a1757c
parentf985903508519640c0ef0914c05053dc5ccb0f17 (diff)
downloadrpm-5ae32f7b838b99bfb111ce9d9c13ffc160ff2d6c.tar.gz
Hardwire the Fedora version used for CI
CI has been running on latest stable Fedora and rawhide, both of which can and do change outside our control and cause previously working code to stop building overnight due to new compiler versions etc being introduced. This is not a sane situation for mandatory CI, we need to be able to validate the codebase on a given version *before* moving to it. Setting the version in the Dockerfile instead of external scripts ties the codebase and validated versions together as they should. This still leaves us subject to updates breaking stuff, but that's a lesser evil, updates are generally welcome. (cherry picked from commit 9a7e8e15705e81661f58374fdd83ac5ce425d99b)
-rw-r--r--ci/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile
index 7d6a7551c..c2ed141fe 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -1,4 +1,4 @@
-FROM fedora
+FROM fedora:31
MAINTAINER rpm-maint@lists.rpm.org
WORKDIR /opt/rpm