github.com/anchore/syft@v1.38.2/cmd/syft/internal/test/integration/test-fixtures/image-test-java-purls/Dockerfile (about)

     1  FROM docker.io/anchore/test_images:java-88948cc@sha256:dea0e6c24636937f53bdc997d9960c2a18966d1e38bcd8ebd0c395d4e169b806 AS base
     2  
     3  # not covered in testing...
     4  RUN rm /packages/gradle-7.1.1-bin.zip
     5  
     6  RUN apk add --no-cache python3 py3-pip
     7  
     8  COPY extract.py /extract.py
     9  
    10  WORKDIR /
    11  
    12  # let's make this image a little smaller as to not take up so much disk space
    13  # we'll only keep the jar metadata files (pom data + manifest) and throw away the rest
    14  RUN python extract.py
    15  
    16  FROM scratch
    17  
    18  COPY --from=base /slim/packages /packages