Created
October 16, 2014 17:55
-
-
Save camsom/3f9052fae8f75963bb07 to your computer and use it in GitHub Desktop.
Dockerfile for my dump go project
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
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