aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor/build/Dockerfile
blob: 812eb47e60bbf369abd597b4996a477956e6c852 (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/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}