2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/kerberized-hadoop .
|
2020-12-14 12:07:05 +00:00
|
|
|
|
2020-10-30 19:40:16 +00:00
|
|
|
FROM sequenceiq/hadoop-docker:2.7.0
|
2021-10-19 09:44:55 +00:00
|
|
|
|
2021-10-19 13:45:03 +00:00
|
|
|
RUN sed -i -e 's/^\#baseurl/baseurl/' /etc/yum.repos.d/CentOS-Base.repo && \
|
|
|
|
sed -i -e 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/CentOS-Base.repo && \
|
|
|
|
sed -i -e 's#http://mirror.centos.org/#http://vault.centos.org/#' /etc/yum.repos.d/CentOS-Base.repo
|
2021-10-19 13:40:06 +00:00
|
|
|
|
|
|
|
# https://community.letsencrypt.org/t/rhel-centos-6-openssl-client-compatibility-after-dst-root-ca-x3-expiration/161032/81
|
|
|
|
RUN sed -i s/xMDkzMDE0MDExNVow/0MDkzMDE4MTQwM1ow/ /etc/pki/tls/certs/ca-bundle.crt
|
|
|
|
|
2020-12-15 11:52:10 +00:00
|
|
|
RUN yum clean all && \
|
|
|
|
rpm --rebuilddb && \
|
|
|
|
yum -y update && \
|
|
|
|
yum -y install yum-plugin-ovl && \
|
|
|
|
yum --quiet -y install krb5-workstation.x86_64
|
2021-10-19 13:45:03 +00:00
|
|
|
|
2020-10-30 19:40:16 +00:00
|
|
|
RUN cd /tmp && \
|
2021-10-19 13:45:03 +00:00
|
|
|
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 && \
|
2020-10-30 19:40:16 +00:00
|
|
|
tar xzf commons-daemon-1.0.15-src.tar.gz && \
|
|
|
|
cd commons-daemon-1.0.15-src/src/native/unix && \
|
|
|
|
./configure && \
|
|
|
|
make && \
|
|
|
|
cp ./jsvc /usr/local/hadoop/sbin
|