File: Dockerfile

package info (click to toggle)
golang-github-wader-gojq 0.0~git20230131.53cfdef-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 960 kB
  • sloc: yacc: 642; makefile: 89
file content (12 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
FROM golang:1.19 AS builder

WORKDIR /app
COPY . .
ENV CGO_ENABLED 0
RUN make build

FROM gcr.io/distroless/static:debug

COPY --from=builder /app/gojq /
ENTRYPOINT ["/gojq"]
CMD ["--help"]