Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 328 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 328 Bytes

FROM golang:1.11-alpine AS builder RUN apk add --no-cache git RUN go get github.com/pdevine/go-asciisprite WORKDIR /project COPY surprise.go . RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o surprise surprise.go

FROM scratch COPY --from=builder /project/surprise /surprise ENTRYPOINT ["/surprise"]