mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
fix latest versions and vault
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
081f1e20a3
commit
098a435b64
|
@ -84,7 +84,9 @@ compare() {
|
||||||
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
|
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
|
||||||
else
|
else
|
||||||
# add to the bad versions
|
# 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}"
|
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ RUN buildDeps=' \
|
||||||
libc-dev \
|
libc-dev \
|
||||||
libgcc \
|
libgcc \
|
||||||
make \
|
make \
|
||||||
|
yarn \
|
||||||
zip \
|
zip \
|
||||||
' \
|
' \
|
||||||
set -x \
|
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 \
|
&& 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 \
|
&& cd /go/src/github.com/hashicorp/vault \
|
||||||
&& go get github.com/mitchellh/gox \
|
&& 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/ \
|
&& mv bin/vault /usr/bin/ \
|
||||||
&& apk del $buildDeps \
|
&& apk del $buildDeps \
|
||||||
&& rm -rf /go \
|
&& rm -rf /go \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user