Revert "Make the clam-rest container tiny"

This reverts commit d6a9b30ea1.
This commit is contained in:
Oliver Sterzel 2016-06-26 23:32:26 +01:00
parent d6a9b30ea1
commit f2620bb98c
3 changed files with 8 additions and 7 deletions

View file

@ -1,7 +1,12 @@
FROM scratch
FROM golang:1.3
ADD target/clamrest /
ADD . /go/src/github.com/osterzel/clamrest
CMD ["/clamrest"]
WORKDIR /go/src/github.com/osterzel/clamrest
RUN go get
RUN go install github.com/osterzel/clamrest
RUN rm -rf /go/src/github.com/osterzel/clamrest
ENTRYPOINT /go/bin/clamrest
EXPOSE 8080