mirror of
https://github.com/ssh-vault/ssh-vault.git
synced 2025-07-29 18:01:12 +03:00
10 lines
237 B
Docker
10 lines
237 B
Docker
FROM golang:latest as builder
|
|
RUN go get -u github.com/golang/dep/cmd/dep
|
|
WORKDIR /go/src/github.com/ssh-vault/ssh-vault
|
|
copy . .
|
|
ARG VERSION=0.0.0
|
|
ENV VERSION="${VERSION}"
|
|
RUN dep ensure --vendor-only
|
|
RUN make test
|
|
RUN make build-linux
|