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
1 parent
dd9b9f9
commit 7c7f85c
Showing
1 changed file
with
16 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# creates statically compiled shock-server binary: /gopath/bin/shock-server | ||
|
||
FROM ubuntu:14.10 | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
git-core \ | ||
curl | ||
|
||
RUN curl -s https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz | tar -v -C /usr/local -xz | ||
|
||
ENV GOROOT /usr/local/go | ||
ENV PATH /usr/local/go/bin:/gopath/bin:/usr/local/bin:$PATH | ||
ENV GOPATH /gopath/ | ||
|
||
RUN CGO_ENABLED=0 go get -a -installsuffix cgo -v github.com/MG-RAST/Shock/... |