File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,26 @@ set -xe
3
3
BAZELISK_VERSION=v1.12.0
4
4
BAZELISK_DOWNLOAD_SHA=6b0bcb2ea15bca16fffabe6fda75803440375354c085480fe361d2cbf32501db
5
5
6
+ # install git lfs apt source
7
+ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
8
+
9
+ # install gh apt source
10
+ (type -p wget > /dev/null || (sudo apt update && sudo apt-get install wget -y)) \
11
+ && sudo mkdir -p -m 755 /etc/apt/keyrings \
12
+ && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
13
+ && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
14
+ && 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 \
15
+
6
16
apt-get update
7
17
export DEBIAN_FRONTEND=noninteractive
8
18
apt-get -y install --no-install-recommends \
9
19
zlib1g-dev \
10
20
uuid-dev \
11
21
python3-distutils \
12
22
python3-pip \
13
- bash-completion
23
+ bash-completion \
24
+ git-lfs \
25
+ gh
14
26
15
27
# Install Bazel
16
28
curl -fSsL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION} /bazelisk-linux-amd64
Original file line number Diff line number Diff line change 1
1
set -xe
2
2
3
+ git lfs install
4
+
3
5
# add the workspace to the codeql search path
4
6
mkdir -p /home/vscode/.config/codeql
5
7
echo " --search-path /workspaces/codeql" > /home/vscode/.config/codeql/config
You can’t perform that action at this time.
0 commit comments