Skip to content

Commit e12a9f2

Browse files
committed
Fix "Failed to download metadata ..." error by switching to Rocky Linux.
CentOS is no longer active. Have to choose b/w CentOS Stream or Rocky Linux.
1 parent 786c8a1 commit e12a9f2

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)