Merge Dockerfile commands

This will help avoid unnecessary image layers
This commit is contained in:
Łukasz Mierzwa
2017-03-25 15:33:26 -07:00
parent ec08572f0a
commit dc1ce44cfb

View File

@@ -6,8 +6,7 @@ ARG VERSION
RUN go install \
-ldflags "-X main.version=${VERSION:-dev}" \
github.com/cloudflare/unsee
RUN rm -fr /go/src
github.com/cloudflare/unsee && \
rm -fr /go/src
CMD ["unsee"]