This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git
The following commit(s) were added to refs/heads/main by this push:
new 55415b8 Do not fail on missing packages
55415b8 is described below
commit 55415b80c4f3b61afb33a4903bb21b9696b072b6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Aug 21 10:17:16 2023 +0200
Do not fail on missing packages
---
github-runner-ami/packer/files/docker.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/github-runner-ami/packer/files/docker.sh
b/github-runner-ami/packer/files/docker.sh
index 3d1cc45..403a27c 100644
--- a/github-runner-ami/packer/files/docker.sh
+++ b/github-runner-ami/packer/files/docker.sh
@@ -19,7 +19,7 @@
set -exu -o pipefail
-for pkg in docker.io docker-doc docker-compose podman-docker containerd runc;
do sudo apt-get remove $pkg --assume-yes; done
+for pkg in docker.io docker-doc docker-compose podman-docker containerd runc;
do sudo apt-get remove $pkg --assume-yes || true; done
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg