diff options
author | xudan16 <xudan16@huawei.com> | 2023-10-09 17:26:05 +0800 |
---|---|---|
committer | xudan16 <xudan16@huawei.com> | 2023-10-09 17:27:24 +0800 |
commit | 251fc2778d54866d9f6d43bea1f4f515c3654a7a (patch) | |
tree | 245f6ff0c9b2a7b1de7720a6f4cc26d389de0d78 /standalone/src/main | |
parent | a429904142a1209f32a1df8db6319e07b82762db (diff) |
Update pom.xml and add standalone to build docker image
Issue-ID: MODELING-680
Change-Id: I044b8dfd050fe46c9736017fc172f8612cfdcd48
Signed-off-by: xudan16 <xudan16@huawei.com>
Diffstat (limited to 'standalone/src/main')
-rw-r--r-- | standalone/src/main/assembly/Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile new file mode 100644 index 0000000..2bbc781 --- /dev/null +++ b/standalone/src/main/assembly/Dockerfile @@ -0,0 +1,12 @@ +FROM nexus3.onap.org:10001/onap/integration-java11:9.0.0 + +USER root + +RUN mkdir /home/yangkit + +ADD modeling-yang-kit-*-linux64.tar.gz /home/yangkit + +WORKDIR /home/yangkit + +ENTRYPOINT ["sh", "-c"] +CMD ["exec java -jar modeling-yang-compiler.jar"] |