-
-
Save zonorti/dffadd951f8c73402254 to your computer and use it in GitHub Desktop.
cloudera manager host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:12.04 | |
| MAINTAINER Sergey Melnik "smelnik@onetwotrip.com" | |
| RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq curl | |
| #add CDH repo | |
| RUN curl http://archive.cloudera.com/cdh5/ubuntu/precise/amd64/cdh/archive.key | apt-key add - | |
| RUN curl http://archive.cloudera.com/cdh5/ubuntu/precise/amd64/cdh/cloudera.list > /etc/apt/sources.list.d/cloudera.list | |
| # add CM repo | |
| RUN curl http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm/archive.key | apt-key add - | |
| RUN curl http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm/cloudera.list > /etc/apt/sources.list.d/cloudera-manager.list | |
| RUN apt-get update | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq oracle-j2sdk1.7 | |
| ENV JAVA_HOME /usr/lib/jvm/java-7-oracle-cloudera | |
| ENV PATH $JAVA_HOME/bin:$PATH | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq cloudera-manager-daemons cloudera-manager-server | |
| # Ports for Cloudera Manager | |
| EXPOSE 7180 7183 7182 7432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment