Fix commands to set up GitHub actions runner
Add `git` installation Add `-yq` flags to apt-get commands Always use `apt-get` instead of `apt`.
This commit is contained in:
parent
a9e95bc05c
commit
1dae5727ec
1 changed files with 4 additions and 4 deletions
8
.github/workflows/README.md
vendored
8
.github/workflows/README.md
vendored
|
@ -11,7 +11,7 @@
|
|||
- to set up dependencies, run the following commands:
|
||||
```
|
||||
# install kubectl
|
||||
sudo apt-get install kubectl
|
||||
sudo apt-get install -yq kubectl git
|
||||
|
||||
# install go
|
||||
curl -O https://storage.googleapis.com/golang/go1.12.9.linux-amd64.tar.gz
|
||||
|
@ -37,11 +37,11 @@
|
|||
sudo mv skaffold /usr/local/bin
|
||||
|
||||
# install docker
|
||||
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common && \
|
||||
sudo apt install -yq apt-transport-https ca-certificates curl gnupg2 software-properties-common && \
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - && \
|
||||
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
|
||||
sudo apt update && \
|
||||
sudo apt install docker-ce && \
|
||||
sudo apt-get update && \
|
||||
sudo apt-get install -yq docker-ce && \
|
||||
sudo usermod -aG docker ${USER}
|
||||
|
||||
# logout and back on
|
||||
|
|
Loading…
Reference in a new issue