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

     1  FROM alpine:3.18.3@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a AS base
     2  
     3  RUN wget https://repo1.maven.org/maven2/org/jvnet/hudson/main/hudson-war/2.2.1/hudson-war-2.2.1.war
     4  
     5  RUN mv hudson-war-2.2.1.war hudson.war
     6  
     7  # let's make this image a little smaller as to not take up so much disk space
     8  # we'll only keep the jar metadata files (pom data + manifest) and throw away the rest
     9  RUN apk add --no-cache python3 py3-pip
    10  COPY extract.py /extract.py
    11  RUN python extract.py
    12  
    13  FROM scratch
    14  
    15  COPY --from=base /slim /