CentOS 6 became too old

This commit is contained in:
Ilya Golshtein 2020-12-14 21:35:13 +03:00
parent 09d1e89674
commit a4dad0acb7

View File

@ -1,6 +1,8 @@
# docker build -t yandex/clickhouse-kerberized-hadoop . # docker build -t yandex/clickhouse-kerberized-hadoop .
FROM sequenceiq/hadoop-docker:2.7.0 FROM sequenceiq/hadoop-docker:2.7.0
RUN sed -i -e 's/^\#baseurl/baseurl/' /etc/yum.repos.d/CentOS-Base.repo
RUN sed -i -e 's#http://mirror.centos.org/#http://vault.centos.org/#' /etc/yum.repos.d/CentOS-Base.repo
RUN yum --quiet --assumeyes install krb5-workstation.x86_64 RUN yum --quiet --assumeyes install krb5-workstation.x86_64
RUN cd /tmp && \ RUN cd /tmp && \
curl http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.15-src.tar.gz -o commons-daemon-1.0.15-src.tar.gz && \ curl http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.15-src.tar.gz -o commons-daemon-1.0.15-src.tar.gz && \