Complete dockerfile toolkit with generation and validation capabilities
94
94%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
You are given the following Dockerfile:
FROM ubuntu
RUN apt-get update
RUN apt-get install -y curl git wget
RUN apt-get install -y python3
COPY . /app
WORKDIR /app
RUN pip3 install -r requirements.txt
CMD python3 app.pyPerform Stage 1 (hadolint syntax validation) on this Dockerfile.
Identify every hadolint rule violation (DL-prefixed rules). For each violation state:
Identify any ShellCheck (SC-prefixed) violations in the shell commands used in RUN instructions.
List all violations in order of severity (errors first, then warnings, then info/style).
Do NOT modify the Dockerfile. Present findings only.