Skip to content

Commit 2a8cd6a

Browse files
authored
Merge pull request #5 from sfgeorge/fix-broken-centos8-mirrorlist-using-rockylinux
Fix "Failed to download metadata ..." error by switching to Rocky Linux.
2 parents 786c8a1 + e12a9f2 commit 2a8cd6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM centos:latest
1+
FROM rockylinux:latest
22

33
EXPOSE 9200
44
EXPOSE 5601
55

66
ENV ES_VERSION 7.2.0
77
ENV KIBANA_VERSION 7.2.0
88

9-
RUN yum -y install epel-release && yum clean all
10-
RUN yum -y install unzip zip curl git java-1.8.0-openjdk python2 python2-pip && yum clean all
9+
RUN dnf -y install epel-release && dnf clean all
10+
RUN dnf -y install unzip zip curl git java-1.8.0-openjdk python2 python2-pip && dnf clean all
1111

1212
RUN pip2 install --upgrade pip
1313
RUN pip2 install beautifulsoup4 python-dateutil html5lib lxml tornado retrying pyelasticsearch joblib click chardet

0 commit comments

Comments
 (0)