diff options
author | Ritu Sood <ritu.sood@intel.com> | 2020-06-19 13:18:14 -0700 |
---|---|---|
committer | Ritu Sood <ritu.sood@intel.com> | 2020-06-19 13:28:08 -0700 |
commit | 1f6c1d5d3750fbcfaadd1788ac47f28dd3708423 (patch) | |
tree | 000df495e815c574850fe0ee4585dcb378d0fe75 /build | |
parent | 7b860ae60bf9686b449ab2fe3f18c33944bdd71c (diff) |
Update to fix inconsistent naming
Dockerfile and Kunernetes resource files
use inconsistent names. This patch is to
fix inconsistent names.
Issue-ID: MULTICLOUD-1065
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: If7ea6d9ecf55196be5400ea5d2b4d3ce42f99b0f
Diffstat (limited to 'build')
-rw-r--r-- | build/Dockerfile | 22 | ||||
-rw-r--r-- | build/Readme.md | 7 | ||||
-rwxr-xr-x | build/entrypoint | 2 |
3 files changed, 17 insertions, 14 deletions
diff --git a/build/Dockerfile b/build/Dockerfile index ff9e8572..02031928 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -20,18 +20,18 @@ RUN cd src/clm && make all FROM ubuntu:16.04 -WORKDIR /opt/mco -RUN groupadd -r mco && useradd -r -g mco mco -RUN chown mco:mco /opt/mco -R -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/src/orchestrator/orchestrator ./ -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/src/ncm/ncm ./ -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/src/dcm/dcm ./ -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/src/rsync/rsync ./ -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/src/ovnaction/ovnaction ./ -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/src/clm/clm ./ -COPY --chown=mco --from=0 /go/src/github.com/onap/multicloud-k8s/build/entrypoint ./ +WORKDIR /opt/emco +RUN groupadd -r emco && useradd -r -g emco emco +RUN chown emco:emco /opt/emco -R +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/src/orchestrator/orchestrator ./ +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/src/ncm/ncm ./ +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/src/dcm/dcm ./ +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/src/rsync/rsync ./ +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/src/ovnaction/ovnaction ./ +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/src/clm/clm ./ +COPY --chown=emco --from=0 /go/src/github.com/onap/multicloud-k8s/build/entrypoint ./ -USER mco +USER emco ENTRYPOINT ["./entrypoint"] diff --git a/build/Readme.md b/build/Readme.md index 193c0ea5..afc7cd03 100644 --- a/build/Readme.md +++ b/build/Readme.md @@ -1,4 +1,7 @@ +########################################## # Steps for building v2 API Docker Image -$cd k8s -$docker build -f build/Dockerfile . -t mco +########################################## + `$cd k8s` + + `$docker build -f build/Dockerfile . -t emco` diff --git a/build/entrypoint b/build/entrypoint index bafb76e9..d711f0f6 100755 --- a/build/entrypoint +++ b/build/entrypoint @@ -3,7 +3,7 @@ cmd=${1:-""} case ${cmd} in - "mco") + "orchestrator") ./orchestrator ;; |