-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Victor Castell
committed
Aug 22, 2018
1 parent
bb9c9cc
commit b13084e
Showing
6 changed files
with
523 additions
and
640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
FROM golang:1.10 | ||
FROM golang:1.11-rc | ||
MAINTAINER Victor Castell <victor@victorcastell.com> | ||
|
||
EXPOSE 8080 8946 | ||
|
||
RUN wget https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -O /usr/local/bin/dep && \ | ||
chmod +x /usr/local/bin/dep | ||
|
||
RUN mkdir -p /go/src/github.com/victorcoder/dkron | ||
WORKDIR /go/src/github.com/victorcoder/dkron | ||
|
||
COPY Gopkg.toml Gopkg.lock ./ | ||
RUN dep ensure -v -vendor-only | ||
RUN mkdir -p /app | ||
WORKDIR /app | ||
|
||
ENV GO111MODULE=on | ||
COPY . . | ||
RUN go install ./... | ||
CMD ["dkron"] |
Oops, something went wrong.