aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/Dockerfile
blob: f0a795733dd5d9853363c9a342a5da2b33bbffc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM nexus3.onap.org:10001/onap/integration-java17:12.0.0
MAINTAINER "Lu Ji" <lu.ji3@zte.com.cn>

# Expose the Usecase-UI backend port 
EXPOSE 8082

USER root
RUN apk update && apk add bash
#Configure Java SDK
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib

#Add Usecase-UI server related resources to the docker image
RUN mkdir /home/uui
WORKDIR /home/uui
ADD usecase-ui-server-*-linux64.tar.gz /home/uui/
RUN addgroup -S uui && adduser -S uui -G uui && chown -R uui:uui /home/uui

USER uui
WORKDIR /home/uui
ENTRYPOINT /home/uui/bin/run.sh