Compile Hadoop in Docker container

https://github.com/kiwenlau/compile-hadoop
FROM ubuntu:14.04
   
  MAINTAINER kiwenlau <[email protected]>
   
  # install dependencies for compiling hadoop
  RUN apt-get update && \
  apt-get install -y wget \
  openjdk-7-jdk \
  libprotobuf-dev \
  protobuf-compiler \
  maven \
  cmake \
  build-essential \
  pkg-config \
  libssl-dev \
  zlib1g-dev \
  llvm-gcc \
  automake \
  autoconf \
  make
   
  COPY compile.sh /root/compile.sh
   
  RUN chmod +x /root/compile.sh
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章