mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 23:14:43 +00:00
Building with dockerifle
This commit is contained in:
parent
29cfd3d109
commit
15833c85c6
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