omissis/go-jsonschema

View on GitHub
Dockerfile

Summary

Maintainability
Test Coverage
FROM golang:1.22.3-alpine3.18 AS tools

COPY scripts/tools-golang.sh /tmp/tools-golang.sh

RUN /tmp/tools-golang.sh && rm /tmp/tools-golang.sh

RUN apk add --no-cache jq~=1.6 yq~=4.33 && \
    rm -rf /var/cache/apk/* /tmp/*

FROM scratch AS go-jsonschema

ENTRYPOINT ["/go-jsonschema"]

COPY go-jsonschema /