3 MAINTAINER "The Onap Team"
\r
4 LABEL Description="This immage contains an updated ubuntu 16.04 with the openjdk installed" Version="16.04-8"
\r
8 ENV HTTP_PROXY=$http_proxy
\r
9 ENV HTTPS_PROXY=$https_proxy
\r
10 ENV http_proxy=$HTTP_PROXY
\r
11 ENV https_proxy=$HTTPS_PROXY
\r
13 RUN test -n "$http_proxy" && echo "Acquire::Proxy \"http://$http_proxy\";" > /etc/apt/apt.conf.d/02proxy || true && \
\r
15 apt-get -y dist-upgrade && \
\r
16 apt-get install -y openjdk-8-jre-headless
\r
18 COPY onap-clamp/clamp.jar /opt/clamp/app.jar
\r
20 COPY onap-clamp/startService.sh /opt/clamp/startService.sh
\r
21 RUN chmod 700 /opt/clamp/startService.sh
\r
24 ENTRYPOINT ./startService.sh
\r