Skip to content

Commit

Permalink
Merge pull request sequenceiq#18 from paoloantinori/master
Browse files Browse the repository at this point in the history
Updated libselinux to solve problems on Fedora. fixes sequenceiq#14
  • Loading branch information
Janos Matyas committed Dec 10, 2014
2 parents 3ccf187 + e8a631a commit a6ea47c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ USER root

# install dev tools
RUN yum install -y curl which tar sudo openssh-server openssh-clients rsync
# update libselinux. see https://github.com/sequenceiq/hadoop-docker/issues/14
RUN yum update -y libselinux

# passwordless ssh
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key
Expand Down Expand Up @@ -56,7 +58,7 @@ RUN $HADOOP_PREFIX/bin/hdfs namenode -format

# fixing the libhadoop.so like a boss
RUN rm /usr/local/hadoop/lib/native/*
RUN curl -Ls http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64-2.6.0.tar|tar -xz -C /usr/local/hadoop/lib/native/
RUN curl -Ls http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64-2.6.0.tar | tar -x -C /usr/local/hadoop/lib/native/

ADD ssh_config /root/.ssh/config
RUN chmod 600 /root/.ssh/config
Expand Down

0 comments on commit a6ea47c

Please sign in to comment.