File: Dockerfile

package info (click to toggle)
gojq 0.12.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 952 kB
  • sloc: yacc: 642; makefile: 85
file content (12 lines) | stat: -rw-r--r-- 190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
FROM golang:1.20 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"]