mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Revert "Migrate build to use go modules"
This reverts commit 3439a34989.
For the moment with bad wifi this is just taking too, too long. We may
be able to figure out an approach that bind mounts the cache in which
should help drastically.
This commit is contained in:
parent
298c599b92
commit
57612184ad
2 changed files with 3 additions and 3 deletions
|
|
@ -36,6 +36,6 @@ RUN go get github.com/hashicorp/go-bindata/go-bindata
|
|||
RUN go get github.com/elazarl/go-bindata-assetfs
|
||||
RUN go get github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs
|
||||
|
||||
RUN mkdir /vault
|
||||
WORKDIR /vault
|
||||
RUN mkdir -p /gopath/src/github.com/hashicorp/vault
|
||||
WORKDIR /gopath/src/github.com/hashicorp/vault
|
||||
CMD make static-dist bin
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ fi
|
|||
# Build the packages
|
||||
if [ -z $NOBUILD ]; then
|
||||
# This should be a local build of the Dockerfile in the cross dir
|
||||
docker run --rm -v "$(pwd)":/vault -w /vault ${DOCKER_CROSS_IMAGE}
|
||||
docker run --rm -v "$(pwd)":/gopath/src/github.com/hashicorp/vault -w /gopath/src/github.com/hashicorp/vault ${DOCKER_CROSS_IMAGE}
|
||||
fi
|
||||
|
||||
# Zip all the files
|
||||
|
|
|
|||
Loading…
Reference in a new issue