Trivy Report showing vunlarability: WARN This OS version is no longer supported by the distribution: alpine 3.12.12 │ zlib │ CVE-2022-37434 │ CRITICAL │ fixed │ 1.2.12-r0 │ 1.2.12-r2 |
11 lines
319 B
Docker
11 lines
319 B
Docker
FROM alpine:3.18
|
|
|
|
ARG DOCKER_CLI_VERSION=${DOCKER_CLI_VERSION}
|
|
RUN wget -O- https://download.docker.com/linux/static/stable/$(uname -m)/docker-${DOCKER_CLI_VERSION}.tgz | \
|
|
tar -xzf - docker/docker --strip-component=1 && \
|
|
mv docker /usr/local/bin
|
|
|
|
COPY dive /usr/local/bin/
|
|
|
|
ENTRYPOINT ["/usr/local/bin/dive"]
|