blob: 3cce5718d6c8962968d0c2e65f420c73d6cf7308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0
COPY --chown=onap:onap a1-pe-simulator*.jar /a1-pe-simulator/a1-pe-simulator.jar
# Create conf directory where vnf.config and topology files will be placed by ONAP controller
USER root
RUN mkdir /a1-pe-simulator/config && chown onap:onap /a1-pe-simulator/config
# Create folder for FTP upload via file system and change owner
RUN mkdir -p /a1-pe-simulator/generated_pm_bulks && chown onap:onap /a1-pe-simulator/generated_pm_bulks
USER onap
COPY --chown=onap:onap resources/ /a1-pe-simulator/config
WORKDIR /a1-pe-simulator
EXPOSE 9998
ENTRYPOINT exec java $JAVA_SEC_OPTS $JAVA_OPTS -Djava.security.egd=file:/dev/urandom -Duser.home=/a1-pe-simulator -Dproc.name=a1-pe-simulator -jar a1-pe-simulator.jar
|