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

fix(docker): add docker to the image so ggshield secret scan docker works #926

Closed
wants to merge 1 commit into from

Conversation

fnareoh
Copy link
Contributor

@fnareoh fnareoh commented Jun 28, 2024

Context

Addresses #924, thanks a lot @cdupuis for raising the issue and providing a fix !

What has been done

This MR adds docker to the image so the command ggshield secret scan docker alpine can download the image and works out of the box.

Validation

ggshield secret scan docker alpine works on the new image.

@fnareoh fnareoh self-assigned this Jun 28, 2024
@fnareoh fnareoh requested a review from agateau-gg June 28, 2024 09:26
@fnareoh fnareoh force-pushed the garancegourdel/add_docker_to_docker_image branch from 1e820de to f4aa18c Compare June 28, 2024 10:42
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*\
&& curl -fsSL https://get.docker.com | sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not fond of blindly pulling from get.docker.com. Since we only use docker pull and docker save, would it be enough to get the distro version instead?

@fnareoh
Copy link
Contributor Author

fnareoh commented Oct 18, 2024

I'll go ahead an close this PR as it will probably be tackled differently. :)

@fnareoh fnareoh closed this Oct 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants