1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/Dockerfile
Boot-Error 9e53aed174 Run wtf inside docker container
To build the container

    docker build -t wtfutil .

To run wtf

    docker run -it wtfutil
2019-10-12 05:29:18 +05:30

18 lines
277 B
Docker

FROM golang:1.13-alpine
RUN apk add --no-cache make ncurses
COPY . $GOPATH/src/github.com/wtfutil/wtf
ENV GOPROXY=https://gocenter.io
ENV GO111MODULE=on
ENV GOSUMDB=off
WORKDIR $GOPATH/src/github.com/wtfutil/wtf
ENV PATH=$PATH:./bin
RUN make build
ENTRYPOINT "wtfutil"