mirror of
https://github.com/apache/druid.git
synced 2025-02-22 18:30:13 +00:00
Fix Hadoop tutorial Dockerfile (#8753)
When following the instructions from Hadoop batch load tutorial in the docs, building the Docker images fails with: gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now Updating nss allows the curl command for downloading Hadoop to succeed while building the Docker image.
This commit is contained in:
parent
80be9462a6
commit
ad615438f6
@ -31,8 +31,10 @@ RUN yum clean all \
|
||||
&& yum install -y curl which tar sudo openssh-server openssh-clients rsync yum-plugin-ovl\
|
||||
&& yum clean all \
|
||||
&& yum update -y libselinux \
|
||||
&& yum update -y nss \
|
||||
&& yum clean all
|
||||
# update libselinux. see https://github.com/sequenceiq/hadoop-docker/issues/14
|
||||
# update nss. see https://unix.stackexchange.com/questions/280548/curl-doesnt-connect-to-https-while-wget-does-nss-error-12286
|
||||
|
||||
# passwordless ssh
|
||||
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key
|
||||
|
Loading…
x
Reference in New Issue
Block a user