remove Dockerfile
This commit is contained in:
parent
495604319a
commit
2e2fbc0da0
2 changed files with 5 additions and 17 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -1,14 +0,0 @@
|
|||
FROM golang:alpine
|
||||
|
||||
COPY . /src
|
||||
WORKDIR /src
|
||||
|
||||
RUN apk --no-cache add git && \
|
||||
go get -d ./... && \
|
||||
apk del git
|
||||
|
||||
# linux | windows | darwin
|
||||
ENV OS linux
|
||||
CMD GOOS=$OS GOARCH=386 go build -ldflags="-s -w" -o capture . && \
|
||||
chmod -R 777 capture && \
|
||||
go version
|
||||
Loading…
Add table
Add a link
Reference in a new issue