diff options
author | Ritu Sood <Ritu.Sood@intel.com> | 2019-08-28 20:35:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-28 20:35:09 +0000 |
commit | c5218d2a9d3d6ff009a87e7f1e999a8b5c0332d3 (patch) | |
tree | 8d3522a941fdc85ef24e6294c9bd9eb9d4b1b251 /src/monitor/build/Dockerfile | |
parent | b8f0a1c74947c50b3f1a5b3e3ca7cb6e4ccc7ab9 (diff) | |
parent | ab8c95eff5c1228237f758d3ccfc99c751f713f7 (diff) |
Merge "Adding monitor operator to monitor edge resources"
Diffstat (limited to 'src/monitor/build/Dockerfile')
-rw-r--r-- | src/monitor/build/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/monitor/build/Dockerfile b/src/monitor/build/Dockerfile new file mode 100644 index 00000000..812eb47e --- /dev/null +++ b/src/monitor/build/Dockerfile @@ -0,0 +1,15 @@ +FROM registry.access.redhat.com/ubi7/ubi-minimal:latest + +ENV OPERATOR=/usr/local/bin/monitor \ + USER_UID=1001 \ + USER_NAME=monitor + +# install operator binary +COPY _output/bin/monitor ${OPERATOR} + +COPY bin /usr/local/bin +RUN /usr/local/bin/user_setup + +ENTRYPOINT ["/usr/local/bin/entrypoint"] + +USER ${USER_UID} |