getting toward release
This commit is contained in:
1 parent
a80397fdf6
commit
0e3a914ea0
4 files changed
+27
-1
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
FROM golang:1.13 as builder
|
||||
|
||||
WORKDIR /go/src/github.com/sneak/xsum
|
||||
COPY . .
|
||||
|
||||
RUN go get -v && make build
|
||||
|
||||
# this container doesn't do anything except hold the build artifact
|
||||
# and make sure it compiles.
|
||||
|
||||
FROM alpine
|
||||
|
||||
COPY --from=builder /go/src/github.com/sneak/xsum/xsum /bin/xsum
|
||||
|
||||
CMD /bin/xsum
|
||||
|
||||
# FIXME add testing
|
||||
Reference in new issue
Block a user