summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/Dockerfile
blob: b92e2753dcf29e4e3dfeacdf9999ee1872917e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM nexus3.onap.org:10001/onap/integration-java11:9.0.0 

EXPOSE 8443

USER root
RUN apk update && apk add shadow


#configure the JDK

ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib


#add uui gui related resources to the docker image
RUN mkdir /home/uui
WORKDIR /home/uui
ADD usecase-ui-*-linux64.tar.gz /home/uui/
RUN chmod 755 /home/uui/*.sh

RUN sh /home/uui/configEnv.sh
USER uui
WORKDIR /home/uui
ENTRYPOINT /home/uui/startup.sh