forked from TrueCloudLab/restic
9 lines
260 B
Text
9 lines
260 B
Text
|
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"]
|