GoogleContainerTools / distroless

🥑 Language focused docker images, minus the operating system.
Apache License 2.0
18.91k stars 1.16k forks source link

inotifyd: applet not found #895

Open mkmik opened 2 years ago

mkmik commented 2 years ago

It seems that the inotifyd feature of busybox is not compiled in but the symlink is created anyway:

$ docker run -ti gcr.io/distroless/cc:debug
/ # inotifyd
inotifyd: applet not found

the :debug image should either have the inotifyd feature compiled in, or not created the inotifyd symlink.

motiejus commented 1 year ago

There are more inconsistencies between applets. This is from today's docker://gcr.io/distroless/preview/base-nossl-debian11:debug-amd64:

$ comm -3 <(theirs/busybox/busybox --list | sort) <(cd theirs/busybox/; ls | sort)
arch
ascii
base32
bc
beep
        busybox
crc32
ether-wake
fallocate
        flashcp
        flash_eraseall
        flash_lock
        flash_unlock
hexedit
i2ctransfer
ifdown
ifup
        inotifyd
        last
logread
        lzopcat
mim
nanddump
nandwrite
nologin
nsenter
nslookup
readahead
resume
run-init
        runlevel
setfattr
svok
tc
ts
        tune2fs
udhcpc6
        uncompress
        unlzop
unshare
        users
        w
        wall
        who