Skip to content

Commit a330b10

Browse files
authored
[DT-2943] Simplify devcontainer build (#3318)
1 parent 813228b commit a330b10

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scripts/setup-devcontainer.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ install_gcloud_cli() {
1717
sudo apt install -y google-cloud-cli
1818
}
1919

20-
install_node_with_volta() {
21-
VOLTA_SHA256="fbdc4b8cb33fb6d19e5f07b22423265943d34e7e5c3d5a1efcecc9621854f9cb"
22-
curl -O https://raw.githubusercontent.com/volta-cli/volta/v2.0.2/dev/unix/volta-install.sh
23-
echo "${VOLTA_SHA256} volta-install.sh" | sha256sum -c -
24-
chmod +x volta-install.sh && ./volta-install.sh && rm volta-install.sh
25-
export PATH="$HOME/.volta/bin:$PATH"
26-
NODE_VERSION=$(awk 'NR==2 {gsub(/node:|-.*/,"", $2); print "node@" $2}' Dockerfile)
27-
volta install "${NODE_VERSION}" pnpm
28-
}
29-
3020
install_duos_cypress() {
3121
npm install
3222
npx cypress install
@@ -51,7 +41,6 @@ dev_container() {
5141
cypress_requirements
5242
gcloud_cli_requirements
5343
install_gcloud_cli
54-
install_node_with_volta
5544
install_duos_cypress
5645
install_duos_config
5746
}

0 commit comments

Comments
 (0)