Skip to content

Commit

Permalink
Moved jq installation requirement to getting started docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AllRWeak committed Jul 26, 2023
1 parent 4d49bbc commit d993602
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/01-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ wsl --install

```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install make
brew install git make jq
```

## Universal getting started
Expand Down
6 changes: 3 additions & 3 deletions scripts/general/configure-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ if [[ $(uname) == "Linux" ]]; then

if grep -q "debian" /etc/os-release; then

echo "Adding Docker apt repo on Linux..."

if [[ -z $(grep -r download.docker.com /etc/apt/sources.list.d/) ]]; then

echo "Adding Docker apt repo on Linux..."

if grep -q "Ubuntu" /etc/os-release; then

echo "Adding Docker repo for $(lsb_release -cs)..."
Expand Down Expand Up @@ -59,7 +59,7 @@ if [[ $(uname) == "Linux" ]]; then
if grep -q "debian" /etc/os-release; then

apt-get update
apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin git-lfs curl jq
apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin git-lfs curl

elif grep -q "arch" /etc/os-release; then

Expand Down
7 changes: 4 additions & 3 deletions scripts/general/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [[ $(uname) == "Darwin" ]]; then
echo "Configuring MacOS..."

echo "Installing MacOS packages with homebrew..."
brew install git-lfs curl jq
brew install git-lfs curl

fi

Expand All @@ -45,7 +45,7 @@ if [[ $(uname) == "Linux" ]]; then

echo "Installing required deb packages..."
apt-get update
apt-get install git-lfs curl make jq -y
apt-get install git-lfs curl make -y

if [[ "${MAKEVAR_ALLOW_HOST_SSH_ACCESS}" == "true" ]]; then

Expand All @@ -57,12 +57,13 @@ if [[ $(uname) == "Linux" ]]; then
elif grep -q "arch" /etc/os-release; then

echo "Installing required pacman packages..."
pacman -S git git-lfs make curl jq --noconfirm
pacman -S git git-lfs make curl --noconfirm


else

echo "Unsupported OS"
echo "Please install git."
echo "Please install git LFS for your OS and initialize it."
echo "Please install curl"
echo "Please install jq"
Expand Down

0 comments on commit d993602

Please sign in to comment.