diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-08 21:55:02 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-10 18:35:13 +0100 |
commit | 87ae7c73ebe05f777e23087b1550d2cab42746ff (patch) | |
tree | 45e4ea4ce48385ebbb9ba83447bfb5d66d97dea7 /Dockerfile | |
parent | 3e006c39b0a4411e91e80de261d0e7b5353d44c0 (diff) |
Add version string
Add `lib.Version` to get updated at build time.
Add --version flags to cashier and cashierd
Send client version in the signing request
Send server version in http response headers and in signing response
Set version at build time
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ LABEL maintainer="nsheridan@gmail.com" ARG SRC_DIR=/go/src/github.com/nsheridan/cashier WORKDIR ${SRC_DIR} ADD . ${SRC_DIR} -RUN CGO_ENABLED=0 GOOS=linux go install -a -installsuffix static ./cmd/cashierd +RUN CGO_ENABLED=0 GOOS=linux make install-cashierd FROM scratch LABEL maintainer="nsheridan@gmail.com" |