Revert "Make the clam-rest container tiny"
This reverts commit d6a9b30ea1
.
This commit is contained in:
parent
d6a9b30ea1
commit
f2620bb98c
3 changed files with 8 additions and 7 deletions
11
Dockerfile
11
Dockerfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue