add distroless-toybox image
This commit is contained in:
parent
fca809825f
commit
05cf05c29d
@ -30,6 +30,9 @@ do
|
||||
if [[ $test != '' ]]; then
|
||||
command="podman run --rm --entrypoint=\"$entrypoint\" $3/$imgpath -c \"$test\""
|
||||
else
|
||||
if [[ $IM == 'distroless-toybox' ]]; then
|
||||
command="podman run --rm $3/$imgpath toysh -c true"
|
||||
fi
|
||||
if [[ $IM == 'distroless-true' ]]; then
|
||||
command="podman run --rm $3/$imgpath \"true\""
|
||||
fi
|
||||
|
11
org/alt/distroless-toybox/README.md
Normal file
11
org/alt/distroless-toybox/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
ALT distroless-toybox image
|
||||
===========================
|
||||
|
||||
This is distroless image with toybox binary. It can be used for debugging
|
||||
containers as toybox provides a lot of utils.
|
||||
|
||||
To launch a shell in the container:
|
||||
`docker run --rm -it registry.altlinux.org/alt/distroless-toybox`
|
||||
|
||||
To get system inforamtion:
|
||||
`docker run --rm -it registry.altlinux.org/alt/distroless-toybox uname -a`
|
7
org/alt/distroless-toybox/distroless.toml
Normal file
7
org/alt/distroless-toybox/distroless.toml
Normal file
@ -0,0 +1,7 @@
|
||||
from = "{{ registry }}{{ organization }}/distroless-static:{{ branch }}"
|
||||
|
||||
builder-install-packages = ["toybox"]
|
||||
files = ["/bin/toybox"]
|
||||
|
||||
entrypoint = ["/bin/toybox"]
|
||||
cmd = ["sh"]
|
Loading…
x
Reference in New Issue
Block a user