diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/Docker/example.dockerfile b/Docker/example.dockerfile new file mode 100644 index 0000000..f0d9945 --- /dev/null +++ b/Docker/example.dockerfile @@ -0,0 +1,18 @@ +FROM anchore/syft AS syft +WORKDIR / + +FROM alpine +RUN apk add libc6-compat curl + +ENV PATH "$PATH:/go/bin" +COPY go/bin/sbom /go/bin/ + +COPY --from=syft /syft /usr/bin/ +COPY docker/config/syft/.syft.yaml / + +ADD /~https://github.com/interlynk-io/sbomqs/releases/download/v0.0.19/sbomqs-linux-amd64 /go/bin/sbomqs +RUN chmod +rx /go/bin/sbomqs + +RUN adduser --shell /bin/bash --system test +USER test +ENTRYPOINT /go/bin/sbom \ No newline at end of file