aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/collectd-operator/build/Dockerfile
blob: c923e158aac7c9773c1050a8817b4ee2648ac357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM registry.access.redhat.com/ubi7/ubi-minimal:latest

ENV OPERATOR=/usr/local/bin/collectd-operator \
    USER_UID=1001 \
    USER_NAME=collectd-operator

# install operator binary
COPY build/_output/bin/collectd-operator ${OPERATOR}

COPY build/bin /usr/local/bin
RUN  /usr/local/bin/user_setup

ENTRYPOINT ["/usr/local/bin/entrypoint"]

USER ${USER_UID}