blob: 115949bb787805d5282200983144785447569beb [file] [log] [blame]
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -07001FROM ubuntu:16.04
2
3MAINTAINER "The Onap Team"
4LABEL Description="This immage contains an updated ubuntu 16.04 with the openjdk installed" Version="16.04-8"
5
6ARG http_proxy
7ARG https_proxy
8ENV HTTP_PROXY=$http_proxy
9ENV HTTPS_PROXY=$https_proxy
10ENV http_proxy=$HTTP_PROXY
11ENV https_proxy=$HTTPS_PROXY
12
13RUN test -n "$http_proxy" && echo "Acquire::Proxy \"http://$http_proxy\";" > /etc/apt/apt.conf.d/02proxy || true && \
14 apt-get update && \
15 apt-get -y dist-upgrade && \
16 apt-get install -y openjdk-8-jre-headless
17
18ADD clamp.jar /opt/clamp/app.jar
19VOLUME /etc
20ADD startService.sh /opt/clamp/startService.sh
21RUN chmod 700 /opt/clamp/startService.sh
22
23WORKDIR /opt/clamp/
24ENTRYPOINT ./startService.sh