Update circleci image and handle non-interactive mode.
@@ -4,14 +4,14 @@ jobs:
parallelism: 3
machine:
# New tag format : https://discuss.circleci.com/t/new-image-tag-convention-for-ubuntu-linux-android-and-windows-vms/43750
- image: ubuntu-2204:2022.04.1
+ image: ubuntu-2204:2022.04.2
steps:
- run:
name: "Install required packages"
command: |
source /etc/os-release
sudo apt-get update
- sudo apt-get install libkrb5-dev software-properties-common podman docker
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes libkrb5-dev software-properties-common podman docker
#sudo sed -i -E 's/(unqualified-search-registries = [[])(.*)/\1"registry.fedoraproject.org", "registry.access.redhat.com", \2/g' /etc/containers/registries.conf
echo "unqualified-search-registries = ['registry.fedoraproject.org', 'registry.access.redhat.com', 'registry.centos.org', 'docker.io']" | sudo tee -a /etc/containers/registries.conf > /dev/null
echo 'export PATH=~/.local/bin:$PATH' >> $BASH_ENV
