Added development dockerfile.
This commit is contained in:
parent
daea3d7563
commit
65950687ed
2 changed files with 14 additions and 0 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
/Dockerfile
|
13
Dockerfile
Normal file
13
Dockerfile
Normal 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 []
|
Loading…
Reference in a new issue