diff options
author | Liang Ding <liang.ding@intel.com> | 2019-09-06 01:48:33 -0700 |
---|---|---|
committer | Liang Ding <liang.ding@intel.com> | 2019-09-06 01:51:30 -0700 |
commit | a4fc17247a30cd1ba120a20048913096f4db08a8 (patch) | |
tree | 2a5f7e1db55f64249db5613ed92426063ccb19c6 /artifactbroker/docker/Dockerfile | |
parent | 30a131e644eadbf58d4cd0688fb8ecb7d3a519b6 (diff) |
Fix copy-resource issue of artifactbroker
-- modification should be made in packages/pom.xml
instead of the one in artifactbroker root
Change-Id: Ic2f3209b3a2249f7bbba1f4e6f08f6f20d964dcf
Issue-ID: MULTICLOUD-806
Signed-off-by: Liang Ding <liang.ding@intel.com>
Diffstat (limited to 'artifactbroker/docker/Dockerfile')
-rw-r--r-- | artifactbroker/docker/Dockerfile | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/artifactbroker/docker/Dockerfile b/artifactbroker/docker/Dockerfile deleted file mode 100644 index 364acb9..0000000 --- a/artifactbroker/docker/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -FROM alpine:3.9 - -ARG HTTP_PROXY=${HTTP_PROXY} -ARG HTTPS_PROXY=${HTTPS_PROXY} -ARG BUILD_VERSION=${BUILD_VERSION} -ARG ARTIFACT_LOGS=/var/log/onap - -ENV http_proxy $HTTP_PROXY -ENV https_proxy $HTTPS_PROXY -ENV BUILD_VERSION ${BUILD_VERSION} -ENV ARTIFACT_LOGS ${ARTIFACT_LOGS} - -ENV ARTIFACT_HOME=/opt/app/ -ENV ARTIFACT_DISTRIBUTION_HOME=${ARTIFACT_HOME}/distribution - -EXPOSE 9014 - -RUN apk add --no-cache --update busybox-extras bash nss procps coreutils findutils grep zip unzip \ - curl wget openssh openjdk8 maven jq httpie py-pip - -RUN addgroup -S onap && \ - adduser -S --shell /bin/bash -G onap onap - -RUN mkdir -p ${ARTIFACT_DISTRIBUTION_HOME} ${ARTIFACT_LOGS} ${ARTIFACT_HOME}/etc/ssl && \ - chown -R onap:onap ${ARTIFACT_HOME} ${ARTIFACT_DISTRIBUTION_HOME} ${ARTIFACT_LOGS} - -WORKDIR ${ARTIFACT_DISTRIBUTION_HOME} -COPY ./multicloud-framework-artifactbroker-*.zip multicloud-framework-artifactbroker.zip -RUN unzip -q -o -B multicloud-framework-artifactbroker.zip && \ - rm -f multicloud-framework-artifactbroker.zip -COPY artifact-dist.sh bin/. -#RUN tar xvfz /packages/policy-distribution.tar.gz --directory ${ARTIFACT_DISTRIBUTION_HOME} -#RUN rm /packages/policy-distribution.tar.gz - -RUN chmod +x bin/*.sh && \ - cp ${ARTIFACT_DISTRIBUTION_HOME}/etc/ssl/* ${ARTIFACT_HOME}/etc/ssl && \ - chown onap:onap ${ARTIFACT_HOME}/etc/ssl/* - -USER onap -WORKDIR ${ARTIFACT_DISTRIBUTION_HOME}/bin -ENTRYPOINT [ "bash", "./artifact-dist.sh" ] |