Skip to content

Commit

Permalink
Merge pull request #1 from fgimenez/reduce-image-size
Browse files Browse the repository at this point in the history
reduce image size
  • Loading branch information
fgimenez committed Mar 9, 2016
2 parents 88f1795 + f9c341e commit 1f9a684
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM golang:alpine

ADD . /go/src/github.com/ubuntu-core/snapversion

RUN apk add --no-cache git

RUN go get github.com/zenazn/goji

RUN go install github.com/ubuntu-core/snapversion/cmd/snapversion
RUN apk add --no-cache git && \
go get github.com/zenazn/goji && \
go install github.com/ubuntu-core/snapversion/cmd/snapversion && \
apk del git && \
go clean -i github.com/zenazn/goji

ENTRYPOINT /go/bin/snapversion

Expand Down

0 comments on commit 1f9a684

Please sign in to comment.