mirror of
https://github.com/prymitive/karma
synced 2026-05-21 04:33:07 +00:00
This allows unsee to be compiled into a single self-contained binary, without any need to external static files or templates
14 lines
212 B
Docker
14 lines
212 B
Docker
FROM golang:alpine3.5
|
|
|
|
ADD . /go/src/github.com/cloudflare/unsee
|
|
|
|
ARG VERSION
|
|
|
|
RUN go install \
|
|
-ldflags "-X main.version=${VERSION:-dev}" \
|
|
github.com/cloudflare/unsee
|
|
|
|
RUN rm -fr /go/src
|
|
|
|
CMD ["unsee"]
|