2020-10-07 13:49:40 +05:00
|
|
|
#!/bin/bash -e
|
2020-01-24 19:51:04 +00:00
|
|
|
################################################################################
|
|
|
|
|
## File: containers.sh
|
|
|
|
|
## Desc: Installs container tools: podman, buildah and skopeo onto the image
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2020-12-02 18:46:08 +07:00
|
|
|
install_packages=(podman buildah skopeo)
|
2021-04-08 14:13:21 +03:00
|
|
|
|
2022-05-20 15:40:31 +02:00
|
|
|
# Install podman, buildah, scopeo container's tools
|
2020-12-02 18:46:08 +07:00
|
|
|
apt-get -qq -y install ${install_packages[@]}
|
2020-01-24 19:51:04 +00:00
|
|
|
mkdir -p /etc/containers
|
|
|
|
|
echo -e "[registries.search]\nregistries = ['docker.io', 'quay.io']" | tee /etc/containers/registries.conf
|
2020-12-02 18:46:08 +07:00
|
|
|
|
2021-02-18 09:03:13 +03:00
|
|
|
invoke_tests "Tools" "Containers"
|