mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
a7d74316f7
This reverts commit 80f081b940.
21 lines
631 B
Docker
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" ]
|