mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 14:26:48 +00:00
15 lines
589 B
Bash
15 lines
589 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: containers.sh
|
|
## Desc: Installs container tools: podman, buildah and skopeo onto the image
|
|
################################################################################
|
|
|
|
install_packages=(podman buildah skopeo)
|
|
|
|
# Install podman, buildah, scopeo container's tools
|
|
apt-get -qq -y install ${install_packages[@]}
|
|
mkdir -p /etc/containers
|
|
echo -e "[registries.search]\nregistries = ['docker.io', 'quay.io']" | tee /etc/containers/registries.conf
|
|
|
|
invoke_tests "Tools" "Containers"
|