1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

sysutils/buildah: new port

The buildah package provides a command line tool which can be used to
* create a working container from scratch
or
* create a working container from an image as a starting point
* mount/umount a working container's root file system for manipulation
* save container's root file system layer to create a new image
* delete a working container or an image.

PR:		267184
Reviewed by:	arrowd
Reviewed by:	dch
Sponsored by:	SkunkWerks, GmbH
Differential Revision:	https://reviews.freebsd.org/D37324
This commit is contained in:
Doug Rabson 2022-11-16 12:46:30 +00:00 committed by Dave Cottlehuber
parent f23ec27767
commit e9f00fb662
6 changed files with 87 additions and 0 deletions

View File

@ -147,6 +147,7 @@
SUBDIR += bstack
SUBDIR += btop
SUBDIR += btsixad
SUBDIR += buildah
SUBDIR += bulk_extractor
SUBDIR += bupstash
SUBDIR += burp

27
sysutils/buildah/Makefile Normal file
View File

@ -0,0 +1,27 @@
PORTNAME= buildah
DISTVERSION= 1.28.1.dev
CATEGORIES= sysutils
MAINTAINER= dfr@FreeBSD.org
COMMENT= Manage Pods, Containers and Container Images
WWW= https://buildah.io/
LICENSE= GPLv2
BUILD_DEPENDS= bash:shells/bash \
go-md2man:textproc/go-md2man \
gsed:textproc/gsed
LIB_DEPENDS= libgpgme.so:security/gpgme
RUN_DEPENDS= containernetworking-plugins>=0:net/containernetworking-plugins \
containers-common>=0:sysutils/containers-common \
ocijail:sysutils/ocijail
USES= gmake go:no_targets pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= containers
GH_PROJECT= buildah
GH_TAGNAME= c2cf9fa
INSTALL_TARGET= install install.completions
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1667387850
SHA256 (containers-buildah-1.28.1.dev-c2cf9fa_GH0.tar.gz) = 0466d8a7aeb83f70d1223c63119a8f59b4010e6450c4ea9a6b52f6e9ee422a2c
SIZE (containers-buildah-1.28.1.dev-c2cf9fa_GH0.tar.gz) = 14799241

View File

@ -0,0 +1,7 @@
The buildah package provides a command line tool which can be used to
* create a working container from scratch
or
* create a working container from an image as a starting point
* mount/umount a working container's root file system for manipulation
* save container's root file system layer to create a new image
* delete a working container or an image.

View File

@ -0,0 +1,8 @@
This port of the buildah image building tool is based on unreleased
sources and should be used for evaluation and testing purposes only.
Basic usage follows:
$ export c=$(sudo buildah from quay.io/dougrabson/freebsd-minimal:13.1)
$ sudo buildah run $c freebsd-version -run
$ sudo buildah run $c ping -c 3 9.9.9.9

View File

@ -0,0 +1,41 @@
bin/buildah
share/bash-completion/completions/buildah
share/man/man1/buildah-add.1.gz
share/man/man1/buildah-bud.1.gz
share/man/man1/buildah-build.1.gz
share/man/man1/buildah-commit.1.gz
share/man/man1/buildah-config.1.gz
share/man/man1/buildah-containers.1.gz
share/man/man1/buildah-copy.1.gz
share/man/man1/buildah-from.1.gz
share/man/man1/buildah-images.1.gz
share/man/man1/buildah-info.1.gz
share/man/man1/buildah-inspect.1.gz
share/man/man1/buildah-login.1.gz
share/man/man1/buildah-logout.1.gz
share/man/man1/buildah-manifest-add.1.gz
share/man/man1/buildah-manifest-annotate.1.gz
share/man/man1/buildah-manifest-create.1.gz
share/man/man1/buildah-manifest-exists.1.gz
share/man/man1/buildah-manifest-inspect.1.gz
share/man/man1/buildah-manifest-push.1.gz
share/man/man1/buildah-manifest-remove.1.gz
share/man/man1/buildah-manifest-rm.1.gz
share/man/man1/buildah-manifest.1.gz
share/man/man1/buildah-mount.1.gz
share/man/man1/buildah-pull.1.gz
share/man/man1/buildah-push.1.gz
share/man/man1/buildah-rename.1.gz
share/man/man1/buildah-rm.1.gz
share/man/man1/buildah-rmi.1.gz
share/man/man1/buildah-run.1.gz
share/man/man1/buildah-source-add.1.gz
share/man/man1/buildah-source-create.1.gz
share/man/man1/buildah-source-pull.1.gz
share/man/man1/buildah-source-push.1.gz
share/man/man1/buildah-source.1.gz
share/man/man1/buildah-tag.1.gz
share/man/man1/buildah-umount.1.gz
share/man/man1/buildah-unshare.1.gz
share/man/man1/buildah-version.1.gz
share/man/man1/buildah.1.gz