-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: install git-lfs in the dev container
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# install missing packages | ||
sudo apt-get update && | ||
sudo apt-get install git-lfs \ | ||
python3-pip \ | ||
python3-venv \ | ||
shfmt \ | ||
shellcheck && | ||
sudo apt-get clean && | ||
sudo rm -rf /var/lib/apt/lists/* | ||
|
||
# Fetch git large files | ||
git lfs fetch --all | ||
|
||
# Install Python packages | ||
export PATH=~/.local/bin:$PATH | ||
pip3 install --break-system-packages --upgrade pip | ||
pip3 install --break-system-packages -r requirements.txt | ||
|
||
# Go CI Lint | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.0 | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" v1.54.0 |