Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add curl and tar tools inside all docker telefonicaid objects #600

Open
cesarjorgemartinez opened this issue Nov 16, 2021 · 7 comments
Open

Comments

@cesarjorgemartinez
Copy link
Contributor

Add curl tool inside all docker telefonicaid objects

@fgalan
Copy link
Member

fgalan commented Nov 16, 2021

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).

@cesarjorgemartinez
Copy link
Contributor Author

cesarjorgemartinez commented Nov 17, 2021

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

@cesarjorgemartinez
Copy link
Contributor Author

We need also the "tar" utility (yum install tar) for tcpdump's

@cesarjorgemartinez cesarjorgemartinez changed the title add curl tool inside all docker telefonicaid objects add curl and tar tools inside all docker telefonicaid objects Feb 1, 2022
@KeshavSoni2511
Copy link
Contributor

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.

@fgalan
Copy link
Member

fgalan commented Sep 5, 2023

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!

@fgalan
Copy link
Member

fgalan commented Sep 11, 2023

This issue is not correct (see #748 (comment))

@fgalan fgalan closed this as completed Sep 11, 2023
@cesarjorgemartinez
Copy link
Contributor Author

cesarjorgemartinez commented Nov 17, 2023

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.

@AlvaroVega

@fgalan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants