File: Dockerfile

package info (click to toggle)
go-md2man 1.0.8+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 132 kB
  • sloc: sh: 18; makefile: 10
file content (8 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
FROM golang:1.8 AS build
COPY . /go/src/github.com/cpuguy83/go-md2man
WORKDIR /go/src/github.com/cpuguy83/go-md2man
RUN CGO_ENABLED=0 go build

FROM scratch
COPY --from=build /go/src/github.com/cpuguy83/go-md2man/go-md2man /go-md2man
ENTRYPOINT ["/go-md2man"]