-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-6193 Update dev environment to latest tools
The versions of many tools have been upgraded for the master branch. The following updates were made: - Update to Go 1.9 - Update to the official Docker repo (for now this will install 17.06.2-ce) - Remove out of date Docker config options - Use nvm to manage multiple versions of Node.js (8.4 is the default but 6.9.5 is also installed) - modified a few test files to use the os.TempDir() rather than relative paths in the source tree as Go 1.9 did not like it with Vagrant and VirtualBox Change-Id: I3140790f420da8dddb7ac3c2630c948962649fbd Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
- Loading branch information
1 parent
3f83afc
commit 0e5bec3
Showing
5 changed files
with
39 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright IBM Corp. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
|
||
set -e | ||
set -x | ||
|
||
# ---------------------------------------------------------------- | ||
# Install nvm to manage multiple NodeJS versions | ||
# ---------------------------------------------------------------- | ||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash | ||
export NVM_DIR="$HOME/.nvm" | ||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | ||
|
||
# ---------------------------------------------------------------- | ||
# Install NodeJS | ||
# ---------------------------------------------------------------- | ||
nvm install v6.9.5 | ||
nvm install v8.4 | ||
nvm alias default v8.4 #set default to v8.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters