From ab8c95eff5c1228237f758d3ccfc99c751f713f7 Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Wed, 31 Jul 2019 15:32:28 -0700 Subject: Adding monitor operator to monitor edge resources Add an operator to monitor resources at the edge location. The operator listens to pods and services right now and stores their information in a CustomResource Issue-ID: MULTICLOUD-675 Change-Id: I801478a77fcd019010ea1b4388d6077f63b89d05 Signed-off-by: Kiran Kamineni --- src/monitor/build/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/monitor/build/Dockerfile (limited to 'src/monitor/build/Dockerfile') 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} -- cgit 1.2.3-korg