| FROM ubuntu:16.04 |
| |
| RUN apt-get update |
| RUN apt-get -y install python ; apt-get clean all |
| RUN apt-get -y install unzip ; apt-get clean all |
| RUN apt-get -y install software-properties-common ; apt-get clean all |
| RUN apt-get -y install curl ; apt-get clean all |
| RUN apt-get -y install supervisor; apt-get clean all |
| |
| RUN apt-get -y install openjdk-8-jdk; apt-get clean all |
| |
| ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 |
| RUN update-ca-certificates -f |
| |
| ADD artifacts /heron |
| |
| WORKDIR /heron |
| |
| # run heron installers |
| RUN /heron/heron-client-install.sh |
| RUN /heron/heron-tools-install.sh |
| |
| RUN tar --strip-components=1 -m -zxvf /heron/heron-core.tar.gz -C /heron |
| |
| RUN rm -f /heron/heron-tools-install.sh |
| RUN rm -f /heron/heron-client-install.sh |
| RUN rm -f /heron/heron-core.tar.gz |
| |
| ENV HERON_HOME /heron/heron-core/ |
| RUN export HERON_HOME |