Skip to content

Instantly share code, notes, and snippets.

@camsom
Created October 16, 2014 17:55
Show Gist options
  • Save camsom/3f9052fae8f75963bb07 to your computer and use it in GitHub Desktop.
Save camsom/3f9052fae8f75963bb07 to your computer and use it in GitHub Desktop.
Dockerfile for my dump go project
FROM ubuntu:14.04
RUN apt-get update
RUN apt-get install -y curl git bzr
RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -v -C /usr/local/ -xz
ENV PATH /usr/local/go/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
ENV GOPATH /go
ENV GOROOT /usr/local/go
WORKDIR /go/src/gokerap
ADD . /go/src/gokerap
RUN go install gokerap
EXPOSE 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment