Skip to content

Instantly share code, notes, and snippets.

@qrkourier
Created August 2, 2024 18:33
Show Gist options
  • Save qrkourier/3d3d7a78129793d9c9bb0d218606f67e to your computer and use it in GitHub Desktop.
Save qrkourier/3d3d7a78129793d9c9bb0d218606f67e to your computer and use it in GitHub Desktop.
Debug container image with ziti CLI
FROM openziti/ziti-cli AS ziti-cli
FROM ubuntu
COPY --from=ziti-cli /usr/local/bin/ziti /usr/local/bin/ziti
RUN apt-get update && apt-get install --yes \
nano \
vim \
iputils-ping \
&& rm -rf /var/lib/apt/lists/*
USER root
# docker build -t ziti-debug -f ./ziti-debug.Dockerfile "${PWD}"
# docker run --rm ziti-debug bash -xc 'which ziti; id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment