added
This commit is contained in:
16
check_this
Normal file
16
check_this
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user