gifs/api

Paddy 2014-10-17

7:21787ed8a185 Go to Latest

gifs/api/Dockerfile

Create a Dockerfile and binary. Write a Dockerfile that compiles everything and runs it. Start the binary; load a Context from etcd, and start everything running. The binary is pretty useless until we get HTTP handlers, though, obviously.

History
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Dockerfile	Fri Oct 17 07:22:17 2014 -0400
     1.3 @@ -0,0 +1,9 @@
     1.4 +FROM google/golang
     1.5 +
     1.6 +ADD . /gopath/src/code.secondbit.org/gifs/api
     1.7 +WORKDIR /gopath/src/code.secondbit.org/gifs/api
     1.8 +RUN go get -v ./...
     1.9 +WORKDIR /gopath/src/code.secondbit.org/gifs/api/gifsd
    1.10 +RUN go build .
    1.11 +
    1.12 +CMD ["/gopath/src/code.secondbit.org/gifs/api/gifsd/gifsd"]