mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 23:14:43 +00:00
Merge pull request #30 from gianarb/feature/build-dockerfile
Building with dockerifle
This commit is contained in:
commit
e1ee259ad4
11
Dockerfile.build
Normal file
11
Dockerfile.build
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM golang:1.8.3
|
||||||
|
|
||||||
|
RUN mkdir -p /go/src/github.com/gianarb/orbiter
|
||||||
|
ADD . /go/src/github.com/gianarb/orbiter/
|
||||||
|
WORKDIR /go/src/github.com/gianarb/orbiter
|
||||||
|
RUN go build -o orbiter
|
||||||
|
RUN mv ./orbiter /bin/orbiter
|
||||||
|
|
||||||
|
|
||||||
|
ENTRYPOINT ["orbiter"]
|
||||||
|
CMD ["orbiter", "daemon"]
|
||||||
Loading…
Reference in New Issue
Block a user