mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
18 lines
288 B
Docker
18 lines
288 B
Docker
FROM golang:1.13-alpine
|
|
|
|
RUN apk add --no-cache make ncurses
|
|
|
|
COPY . $GOPATH/src/github.com/wtfutil/wtf
|
|
|
|
ENV GOPROXY=https://proxy.golang.org,direct
|
|
ENV GO111MODULE=on
|
|
ENV GOSUMDB=off
|
|
|
|
WORKDIR $GOPATH/src/github.com/wtfutil/wtf
|
|
|
|
ENV PATH=$PATH:./bin
|
|
|
|
RUN make build
|
|
|
|
ENTRYPOINT "wtfutil"
|