diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..63621cc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +FROM library/ubuntu:latest + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y software-properties-common && \ + add-apt-repository ppa:webupd8team/java -y && \ + apt-get update && \ + echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ + apt-get install -y oracle-java8-installer && \ + apt-get install -y python && \ + apt-get install -y python-pip && \ + apt-get clean + +#for promoverride script +RUN pip install requests + +#REMOVE THIS BEFORE SHIPPING +#RUN apt-get update && \ +# apt-get install -y vim + + +COPY target/prom.jar sampleApp/startPromDaemon.sh sampleApp/promoverride.py /app/ +WORKDIR /app + +CMD ./startPromDaemon.sh -i $ID -c /opt/app/prom/ $PASSIVE -z + |