fix latest versions and vault

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-04-12 18:37:50 -04:00
parent 081f1e20a3
commit 098a435b64
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 6 additions and 2 deletions

View File

@ -84,7 +84,9 @@ compare() {
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
else
# add to the bad versions
bad_versions+=( "${dir}" )
if [[ "$dir" != "rstudio" ]]; then
bad_versions+=( "${dir}" )
fi
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"
fi
}

View File

@ -18,6 +18,7 @@ RUN buildDeps=' \
libc-dev \
libgcc \
make \
yarn \
zip \
' \
set -x \
@ -26,7 +27,8 @@ RUN buildDeps=' \
&& git clone --depth 1 --branch ${VAULT_VERSION} https://github.com/hashicorp/vault /go/src/github.com/hashicorp/vault \
&& cd /go/src/github.com/hashicorp/vault \
&& go get github.com/mitchellh/gox \
&& XC_ARCH="amd64" XC_OS="linux" XC_OSARCH="linux/amd64" make bin \
&& yarn add bower \
&& XC_ARCH="amd64" XC_OS="linux" XC_OSARCH="linux/amd64" make bootstrap static-dist bin \
&& mv bin/vault /usr/bin/ \
&& apk del $buildDeps \
&& rm -rf /go \