1
0
Fork 0
forked from boyska/circolog

Added development dockerfile.

This commit is contained in:
Blallo 2019-03-20 18:06:24 +01:00
parent daea3d7563
commit 65950687ed
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F
2 changed files with 14 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
/Dockerfile

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM golang:1.12
ENV GOOS=linux
ENV CGO_ENABLED=0
RUN mkdir -p $GOPATH/src/git.lattuga.net/boyska/circolog/
COPY . $GOPATH/src/git.lattuga.net/boyska/circolog/
RUN go get git.lattuga.net/boyska/circolog/...
VOLUME [$GOPATH"/bin"]
ENTRYPOINT ["/go/bin/circologd"]
CMD []