ci: fix install dependencies

This commit is contained in:
Revant Nandgaonkar 2021-10-26 12:43:09 +05:30
parent 10447109d4
commit f5eb3c3965
4 changed files with 2 additions and 12 deletions

View file

@ -14,10 +14,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install build dependencies
run: |
sudo apt update && sudo apt install curl python3 python3-pip git -y
curl -fsSL https://get.docker.com | sh
- name: Build Frappe bench development environment (latest)
run: |
docker build -t frappe/bench:latest -f build/bench/Dockerfile .

View file

@ -14,10 +14,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install build dependencies
run: |
sudo apt update && sudo apt install curl python3 python3-pip git -y
curl -fsSL https://get.docker.com | sh
- name: Build Frappe v13
run: |
./builder.py frappe --worker --git-version 13

View file

@ -16,8 +16,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install build dependencies
run: |
sudo apt update && sudo apt install curl python3 python3-pip git -y
curl -fsSL https://get.docker.com | sh
sudo apt update && sudo apt install curl w3m shellcheck -y
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- name: Pull and test edge images

View file

@ -16,8 +16,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install build dependencies
run: |
sudo apt update && sudo apt install curl python3 python3-pip git w3m shellcheck -y
curl -fsSL https://get.docker.com | sh
sudo apt update && sudo apt install curl w3m shellcheck -y
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- name: Build and test edge images