Add/update/delete PrometheusRemoteEndpoint CR
[demo.git] / vnfs / DAaaS / microservices / remote-config-operator / build / Dockerfile
diff --git a/vnfs/DAaaS/microservices/remote-config-operator/build/Dockerfile b/vnfs/DAaaS/microservices/remote-config-operator/build/Dockerfile
new file mode 100644 (file)
index 0000000..6c8d7ed
--- /dev/null
@@ -0,0 +1,15 @@
+FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
+
+ENV OPERATOR=/usr/local/bin/remote-config-operator \
+    USER_UID=1001 \
+    USER_NAME=remote-config-operator
+
+# install operator binary
+COPY build/_output/bin/remote-config-operator ${OPERATOR}
+
+COPY build/bin /usr/local/bin
+RUN  /usr/local/bin/user_setup
+
+ENTRYPOINT ["/usr/local/bin/entrypoint"]
+
+USER ${USER_UID}