Files
ziti/docker-images/controller/Dockerfile
T
Kenneth Bingham a7d74316f7 Revert "revert me: fork fix"
This reverts commit 80f081b940.
2023-01-24 12:19:55 -05:00

21 lines
631 B
Docker

ARG ZITI_VERSION="latest"
# this builds docker.io/openziti/ziti-controller
FROM docker.io/openziti/ziti-cli:${ZITI_VERSION}
# This build stage grabs artifacts that are copied into the final image.
# It uses the same base as the final image to maximize docker cache hits.
### Required OpenShift Labels
LABEL name="openziti/ziti-controller" \
maintainer="developers@openziti.org" \
vendor="NetFoundry" \
summary="Run the OpenZiti Controller" \
description="Run the OpenZiti Controller"
USER root
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
USER nobody
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "run" ]