pcloudcc-lneely/container/fedora.sh

14 lines
508 B
Bash
Executable File

#!/bin/bash
set -x
echo "building fedora container..."
ctrid=$(buildah from fedora:latest)
buildah run "$ctrid" -- dnf update -y
buildah run "$ctrid" -- dnf group install -y "C Development Tools and Libraries"
buildah run "$ctrid" -- dnf install -y git fuse fuse-devel sqlite-devel mbedtls-devel zlib-devel boost-system boost-devel boost-program-options udev systemd-devel libasan
export ctrid=$(buildah commit "$ctrid" "$USER/fedora-build")
echo "done! the container name is: $USER/fedora-build"
set +x