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

Can DockerSlim support using DockerImage as a target for lint? #473

Open
CZJCC opened this issue Feb 7, 2023 · 1 comment
Open

Can DockerSlim support using DockerImage as a target for lint? #473

CZJCC opened this issue Feb 7, 2023 · 1 comment

Comments

@CZJCC
Copy link

CZJCC commented Feb 7, 2023

Expected Behavior

Is it possible to support the result of 【docker history image】 as the input parameters for lint?


Actual Behavior

image


Steps to Reproduce the Problem


Specifications

  • Version:
  • Platform:
@kcq
Copy link
Member

kcq commented Mar 17, 2023

You get a reverse engineered Dockerfile when you run the xray and build commands, which can be used as input to the lint command. The lint command will have this capability natively, but it hasn't been a priority recently. Definitely an opportunity to contribute :-) One of the goals for the lint command is to support this use case where you can point at an image and it would lint the instructions used to build it and other interesting things in the container itself.

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

No branches or pull requests

2 participants