node 6.x is EOL'ed upgrade to latest stable (#8702)

This commit is contained in:
Harshavardhana 2019-12-25 18:57:35 -08:00 committed by Nitish Tiwari
parent c476b27a65
commit d4a390028a
2 changed files with 3 additions and 6 deletions

View File

@ -46,10 +46,7 @@ function main()
gw_pid="$(start_minio_gateway_s3)"
SERVER_ENDPOINT=127.0.0.1:24240 ENABLE_HTTPS=0 ACCESS_KEY=minio \
SECRET_KEY=minio123 MINT_MODE="full" /mint/entrypoint.sh \
aws-sdk-go aws-sdk-java aws-sdk-php aws-sdk-ruby awscli \
healthcheck mc minio-dotnet minio-go minio-java minio-py \
s3cmd security
SECRET_KEY=minio123 MINT_MODE="full" /mint/entrypoint.sh
rv=$?
kill "$sr_pid"

View File

@ -19,7 +19,7 @@ export APT="apt --quiet --yes"
export WGET="wget --quiet --no-check-certificate"
# install nodejs source list
if ! $WGET --output-document=- https://deb.nodesource.com/setup_6.x | bash -; then
if ! $WGET --output-document=- https://deb.nodesource.com/setup_13.x | bash -; then
echo "unable to set nodejs repository"
exit 1
fi
@ -32,7 +32,7 @@ rm -f packages-microsoft-prod.deb
$APT update
# download and install golang
GO_VERSION="1.13"
GO_VERSION="1.13.5"
GO_INSTALL_PATH="/usr/local"
download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz"
if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then