Skip to content

Commit 1e705a9

Browse files
author
Atsushi Abe
committed
Handle EOL of CentOS Linux 8
See also https://www.centos.org/centos-linux-eol/
1 parent 973e611 commit 1e705a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
FROM centos:centos8
22

3+
# Handle EOL of CentOS Linux 8 (https://www.centos.org/centos-linux-eol/)
4+
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* &&\
5+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
6+
7+
# Update packages
38
RUN yum -y update && yum -y upgrade && yum -y install automake autoconf libtool make icu libicu-devel libxml2-devel libuuid-devel fuse-devel net-snmp-devel git python3 && alternatives --set python /usr/bin/python3
49

510
COPY entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)