-
-
Save mccraigmccraig/c801baa7e2378b19ea02686165d68c6f to your computer and use it in GitHub Desktop.
This file contains 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:14.04.2 | |
MAINTAINER mccraigmccraig <craig@employeerepublic.com> | |
# Add a repo where OpenJDK can be found. | |
RUN apt-get install -y software-properties-common | |
RUN add-apt-repository -y ppa:webupd8team/java | |
RUN apt-get update | |
# Auto-accept the Oracle JDK license | |
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
RUN apt-get install -y oracle-java8-installer | |
ADD docker/.profile /srv/.profile | |
ADD docker/run-uberjar /srv/run-uberjar | |
ADD docker/run-es-sync /src/run-es-sync | |
ADD bin/linux-x86-64/libyjpagent.so /srv/libyjpagent.so | |
ENTRYPOINT ["/srv/run-uberjar"] | |
ADD target/er-api.jar /srv/er-api.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment