In our Dockerfile I see the line:
> apt-get -y install acl dirmngr lsof procps wget netcat gosu tini;
I understand how we use some of these, but not all of them.
acl package provides setfacl, and gosu provides gosu, which look to be only
used in tests? How much would we miss them if they were gone?
dirmngr is for network access by gpg, but I don't see where we use gpg in
the docker image at all.
Tini comes baked with docker engine since 1.25, so maybe we don't need it
and can provide instructions to run with --init? This seems convenient for
users though so maybe we can leave it in.
Where do we use netcat?
lsof is used in the startup scripts, wget is used at a minimum to download
jattach, procps is probably used in the startup scripts somewhere too for
top or ps or something similar to get a pid.
Thanks,
Mike
> apt-get -y install acl dirmngr lsof procps wget netcat gosu tini;
I understand how we use some of these, but not all of them.
acl package provides setfacl, and gosu provides gosu, which look to be only
used in tests? How much would we miss them if they were gone?
dirmngr is for network access by gpg, but I don't see where we use gpg in
the docker image at all.
Tini comes baked with docker engine since 1.25, so maybe we don't need it
and can provide instructions to run with --init? This seems convenient for
users though so maybe we can leave it in.
Where do we use netcat?
lsof is used in the startup scripts, wget is used at a minimum to download
jattach, procps is probably used in the startup scripts somewhere too for
top or ps or something similar to get a pid.
Thanks,
Mike