From 1dae5727ecdd581323dfbdc2fd6485f152aafc99 Mon Sep 17 00:00:00 2001 From: djmailhot Date: Tue, 13 Oct 2020 13:54:40 -0700 Subject: [PATCH] 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`. --- .github/workflows/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 7299882..c9ecfdc 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -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