We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2d0009 commit a838201Copy full SHA for a838201
1 file changed
Dockerfile
@@ -16,4 +16,21 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
16
# Clean and make cache
17
RUN yum clean all && yum makecache
18
19
+#update
20
+RUN yum update -y
21
22
+#Fix the repo files again
23
+RUN rm /etc/yum.repos.d/CentOS-Base.repo
24
+
25
+# Copy repo files
26
+COPY CentOS-Vault.repo /etc/yum.repos.d/
27
+COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/
28
+COPY CentOS-SCLo-rh.repo /etc/yum.repos.d/
29
+COPY EPEL-Vault.repo /etc/yum.repos.d/
30
31
+# Import GPG keys
32
+RUN curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo
33
+RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
34
35
+# Clean and make cache
36
+RUN yum clean all && yum makecache
0 commit comments