openGauss-operator/build/Dockerfile.ci

17 lines
339 B
Docker

FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
ENV OPERATOR=/usr/local/bin/learn-operator \
USER_UID=1001 \
USER_NAME=learn-operator
# install operator binar
RUN echo $PWD
COPY learn-operator ${OPERATOR}
COPY bin /usr/local/bin
RUN /usr/local/bin/user_setup
ENTRYPOINT ["/usr/local/bin/entrypoint"]
USER ${USER_UID}