aboutsummaryrefslogtreecommitdiffstats
path: root/configure-podman
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-07-13 10:59:07 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-07-13 10:59:07 +0200
commitff6bc9edb9ebd0c8151faa173339780ba924ae6f (patch)
tree5aad1845bc899e8a89d29cb104f7a0660a3ac7fc /configure-podman
parent500167be46d965b50eba5d9214d88bdceac64c0a (diff)
downloadpodman-docker-builder-ff6bc9edb9ebd0c8151faa173339780ba924ae6f.tar.gz
move rpm install to configure-podman
Diffstat (limited to 'configure-podman')
-rwxr-xr-xconfigure-podman5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure-podman b/configure-podman
index dce3b09..3992043 100755
--- a/configure-podman
+++ b/configure-podman
@@ -3,6 +3,11 @@
# need to tweak some config options so "podman build" can run inside a container
#
+# update & install packages
+dnf update -y
+dnf install -y podman podman-docker buildah
+dnf clean all -y
+
# storage: can't use overlay (can't be stacked).
sed -i.orig -e '/^driver/s/overlay/vfs/' /etc/containers/storage.conf
diff -u /etc/containers/storage.conf.orig /etc/containers/storage.conf