There are no useful tools in this image; its sole purpose is to test the Docker Scout score
6.9K
There are no useful tools in this image; its sole purpose is to test the Docker Scout score and debug the code to achieve a higher score.
For instance, with the following simple Dockerfile,
FROM alpine
RUN apk fix && \
apk --no-cache --update add git git-lfs gpg less openssh patch perl && \
git lfs install
VOLUME /git
WORKDIR /git
ENTRYPOINT ["git"]
CMD ["--help"]
I received an 'E' score due to several issues:
I’d like to start by addressing the easiest issues to fix:
with below command, I fixed both issue No outdated base images and No unapproved base images after manually build locally and push the image:
docker buildx build --tag alpine/used-for-docker-scout-score-check-only:v2 \
--push --attest type=provenance,mode=max .
ref:
Above command docker buildx build works fine on my macbook, but doesn't work with option --attest in pipeline, when refereeing Docker's official document (https://docs.docker.com/scout/integrations/ci/circle-ci/) , I got this error
unknown flag: --attest
See 'docker buildx build --help'.
Switch to use Github Action Pipeline, the Scout rank is B now, that's great.
Github Action Pipeline for reference: https://github.com/alpine-docker/used-for-docker-scout-score-check-only/blob/master/.github/workflows/build.yml
Content type
Image
Digest
sha256:672a6f6d7…
Size
32.5 MB
Last updated
almost 2 years ago
docker pull alpine/used-for-docker-scout-score-check-only:v2.45.2Pulls:
239
Last week