mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 07:41:17 +00:00
Merge pull request #1090 from openziti/add-utilities-cli-container
tweak container run env
This commit is contained in:
@@ -28,7 +28,7 @@ LABEL name="openziti/ziti-cli" \
|
||||
USER root
|
||||
|
||||
### install packages
|
||||
RUN INSTALL_PKGS="python38 python38-pip tar bash-completion" && \
|
||||
RUN INSTALL_PKGS="python38 python38-pip tar bash-completion vim-minimal less" && \
|
||||
microdnf -y update --setopt=install_weak_deps=0 --setopt=tsflags=nodocs && \
|
||||
microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS}
|
||||
|
||||
|
||||
@@ -16,6 +16,6 @@ LABEL name="openziti/ziti-controller" \
|
||||
USER root
|
||||
COPY ./entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
USER nobody
|
||||
USER ziggy
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
CMD [ "run" ]
|
||||
|
||||
@@ -16,6 +16,6 @@ LABEL name="openziti/ziti-router" \
|
||||
USER root
|
||||
COPY ./entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
USER nobody
|
||||
USER ziggy
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
CMD [ "run" ]
|
||||
|
||||
Reference in New Issue
Block a user