diff options
author | Dan Timoney <dtimoney@att.com> | 2020-06-05 15:47:46 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-06-05 15:47:52 -0400 |
commit | 2c728e61fd8ac083de1ac79e1e2763b004af9de5 (patch) | |
tree | 162730fda5b6b523ed589337333551a0776d3177 /sliboot/src/main/docker | |
parent | 7ff9e1fdeefcbc503a65565b55a8ea7c82f3278e (diff) |
Refactor sliapi springboot
Removed sliboot container from distribution. This docker is now
built in ccsdk/apps as a new microservice
Change-Id: I7794f13af5386bf16f3fcfb97a9fc1fcb4a74ca0
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sliboot/src/main/docker')
-rw-r--r-- | sliboot/src/main/docker/Dockerfile | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sliboot/src/main/docker/Dockerfile b/sliboot/src/main/docker/Dockerfile deleted file mode 100644 index 3269d43e..00000000 --- a/sliboot/src/main/docker/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -# Prepare stage for multistage image build -## START OF STAGE0 ## -FROM ${base.image.name}:${project.docker.latestfulltag.version} AS stage0 - -ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk -ENV LOG_PATH /var/log/onap/ccsdk - - -# copy deliverables to opt -COPY opt /opt - -## END OF STAGE0 ## - - -FROM ${base.image.name}:${project.docker.latestfulltag.version} - -MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org) - -ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk -ENV CCSDK_HOME /opt/onap/ccsdk -ENV SLIBOOT_JAR ${ccsdk.sliboot.jar} -ENV SVCLOGIC_PROPERTIES /opt/onap/ccsdk/config/svclogic.properties -ENV SVCLOGIC_DIR /opt/onap/ccsdk/svclogic/graphs -ENV LOG_PATH /var/log/onap/ccsdk - -# Install sudo and IP utilities -RUN apk update && apk --no-cache add sudo iputils openssl - - -# Enable wheel group -RUN sed -e 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' -i /etc/sudoers - -# Create sli user -RUN addgroup -S sli && adduser -S sli -G sli -RUN addgroup sli wheel - -COPY --from=stage0 --chown=sli:sli /opt /opt -RUN mkdir -p ${LOG_PATH} && chown sli:sli ${LOG_PATH} -RUN chmod +x ${CCSDK_HOME}/bin/*.sh - - -USER sli -WORKDIR ${CCSDK_HOME} -ENTRYPOINT /opt/onap/ccsdk/bin/startSliboot.sh -EXPOSE 8443 |