Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sage-service-user committed May 23, 2015
1 parent dd9b9f9 commit 7c7f85c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker/Dockerfile
@@ -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/...

0 comments on commit 7c7f85c

Please sign in to comment.