summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/Dockerfile
blob: 15bcbbba005a3b266fc21f141d48daf7a46b5c9a (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-java17:12.0.0 

EXPOSE 8443

USER root
RUN apk update && apk add shadow && apk add bash


#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