This commit is contained in:
nutzer26
2022-12-13 17:55:43 +01:00
parent a037410306
commit bed22c6720
12 changed files with 289 additions and 0 deletions

16
check_this Normal file
View File

@@ -0,0 +1,16 @@
docker run -d --rm \
--name my-distroless gcr.io/distroless/nodejs \
-e 'setTimeout(() => console.log("Done"), 99999999)'
CDEBUG_VERSION=0.0.3
curl -sL -o cdebug_linux_amd64.tar.gz \
https://github.com/iximiuz/cdebug/releases/download/v${CDEBUG_VERSION}/cdebug_linux_amd64.tar.gz
mkdir cdebug
tar xzf cdebug_linux_amd64.tar.gz -C cdebug
sudo cp cdebug/cdebug /usr/local/bin
cdebug exec --privileged -it --image nixery.dev/shell/ps/vim/tshark my-distroless
https://github.com/iximiuz/cdebug