blob: 7dbd3dae1b59e54e3105170b86e7d95a0b5aaff6 [file] [log] [blame]
ChrisC5e9feb22017-06-21 02:38:57 -07001FROM ubuntu:16.04
2
3MAINTAINER "The Onap Team"
4LABEL Description="This image 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 clds-0.0.1-SNAPSHOT.jar /opt/clamp/app.jar
19VOLUME /etc
20ADD /etc/ /etc/
21ADD startService.sh /opt/clamp/startService.sh
22RUN chmod 700 /opt/clamp/startService.sh
23
24WORKDIR /opt/clamp/
25ENTRYPOINT ./startService.sh