add curl and tar tools inside all docker telefonicaid objects
cesarjorgemartinez opened this issue · 7 comments
Add curl tool inside all docker telefonicaid objects
In my opinion, its preferable to keep the images smaller and security-safe and do apt get install curl
in the rare cases we need to debug (relying in that next time the image gets redeployed curl will disappear).
In Openshift cannot do this things unless specific privileges set at admin users. Now the operative consist in enter other pod that have curl and launch some curls to the service name, until all pods are set
We need also the "tar" utility (yum install tar) for tcpdump's
Hi @fgalan , please confirm if we can write command in DOCKERFILE to remove tar and curl packages after installed and used as it is done for unzip package.
Hi @fgalan , please confirm if we can write command in DOCKERFILE to remove tar and curl packages after installed and used as it is done for unzip package.
I think is a small change, so please do the PR so we can evaluate the convenience of doing that. Thanks in advance!
This issue is not correct (see #748 (comment))
Hi, this issue is well closed because it is not well explained correctly:
-
For the utility tar is not needed because the clusters updated today use other techniques to gain root access to pursue serious problems.
-
For the curl utility any productive image must have this tool for the purpose of operations and productive support, it is in no way directed at development people.
Then, the issue is:
For each docker image of telefonicaid repository the curl must be installed. This utility counts with great beneficials for operations and support and it is necessary to not waste time both for this type of people and for development people (when these people fail then they go and bother the development people).
This utility consumes very little image space, and can be configured depending on the operating system used in the image so that its size is as small as possible.
Example for CentOS and similar OSs to do this tasks:
yum install -y --nodocs curl
You can contact with me to resolve this if the images are others than CentOS and similars, Ubuntu, Debian, ArchLinux, etc, and to write for each telefonicaid repository that does not have this essential utility.