mirror of
https://github.com/restic/restic.git
synced 2024-12-25 17:27:25 +00:00
8 lines
260 B
Docker
8 lines
260 B
Docker
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"]
|