Skip to content

Commit 42f7577

Browse files
install tools
1 parent 3028896 commit 42f7577

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.devcontainer/onCreate.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22

33
set -e
44

5-
rm -rf ./spark-sdk-dist
6-
rm -rf /workspaces/spark-tools
5+
echo "Installing the GitHub CLI"
6+
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
7+
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
8+
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
9+
&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
10+
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
11+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
12+
&& sudo apt update \
13+
&& sudo apt install gh inotify-tools -y
714

815
echo "Downloading the latest release of workbench-template from GitHub"
916

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "workbench-template",
2+
"name": "spark-template",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",

0 commit comments

Comments
 (0)