Skip to content
Snippets Groups Projects
Select Git revision
  • 87ae7c73ebe05f777e23087b1550d2cab42746ff
  • ballinvoher default protected
  • client-http-server-for-token
  • master
  • gitlab-auth-issue
  • windows
  • microsoft
  • message
  • azure_auth
  • prometheus
  • permission-templates
  • no-datastore
  • save-public-keys
  • gitlab-group-level-start
  • v1.1.0
  • v1.0.0
  • v0.1
17 results

Dockerfile

Blame
  • user avatar
    Niall Sheridan authored
    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
    87ae7c73
    History
    Dockerfile 335 B
    FROM golang:latest as build
    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 make install-cashierd
    
    FROM scratch
    LABEL maintainer="nsheridan@gmail.com"
    WORKDIR /cashier
    COPY --from=build /go/bin/cashierd /
    ENTRYPOINT ["/cashierd"]