-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DNM: feat(packages): Add Podman and dependencies
Signed-off-by: RJ Sampson <[email protected]>
- Loading branch information
Showing
10 changed files
with
507 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated from https://git.alpinelinux.org/aports/plain/community/aardvark-dns/APKBUILD | ||
package: | ||
name: aardvark-dns | ||
version: 1.10.0 | ||
epoch: 0 | ||
description: Authoritative DNS server for A/AAAA container records | ||
copyright: | ||
- license: Apache-2.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- build-base | ||
- busybox | ||
- rust | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/containers/aardvark-dns | ||
tag: v${{package.version}} | ||
expected-commit: 875c717352be058864d107c6cb07e820904aca0d | ||
|
||
- runs: | | ||
cargo fetch --target="${{host.triplet.gnu}}" --locked | ||
cargo build --release --frozen | ||
install -Dm755 target/release/aardvark-dns \ | ||
-t ${{targets.destdir}}/usr/libexec/podman/ | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: containers/aardvark-dns | ||
use-tag: true | ||
strip-prefix: v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated from https://git.alpinelinux.org/aports/plain/community/catatonit/APKBUILD | ||
package: | ||
name: catatonit | ||
version: 0.2.0 | ||
epoch: 0 | ||
description: Container init that is so simple it's effectively brain-dead | ||
copyright: | ||
- license: GPL-2.0-or-later | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- autoconf | ||
- automake | ||
- build-base | ||
- busybox | ||
- libtool | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/openSUSE/catatonit | ||
tag: v${{package.version}} | ||
expected-commit: 7f0c9bb45d3490c3e7f579833c9b0689f78c8923 | ||
|
||
- runs: autoreconf -fi | ||
|
||
- uses: autoconf/configure | ||
|
||
- uses: autoconf/make | ||
|
||
- uses: autoconf/make-install | ||
|
||
- runs: | | ||
install -d ${{targets.destdir}}/usr/libexec/podman | ||
ln -s /usr/bin/${{package.name}} ${{targets.destdir}}/usr/libexec/podman/${{package.name}} | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: openSUSE/catatonit | ||
use-tag: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Generated from https://git.alpinelinux.org/aports/plain/community/conmon/APKBUILD | ||
package: | ||
name: conmon | ||
version: 2.1.10 | ||
epoch: 0 | ||
description: OCI container runtime monitor | ||
copyright: | ||
- license: Apache-2.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- automake | ||
- bash | ||
- build-base | ||
- busybox | ||
- glib-dev | ||
- go | ||
- go-md2man | ||
- libseccomp-dev | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/containers/conmon | ||
tag: v${{package.version}} | ||
expected-commit: 2dcd736e46ded79a53339462bc251694b150f870 | ||
|
||
# fix location of go-md2man | ||
- runs: sed -E "s/(GOMD2MAN =).*/\1 go-md2man/" -i docs/Makefile | ||
|
||
- uses: autoconf/make | ||
|
||
- runs: make PREFIX=/usr DESTDIR="${{targets.destdir}}" install | ||
|
||
- uses: strip | ||
|
||
subpackages: | ||
- name: conmon-doc | ||
pipeline: | ||
- uses: split/manpages | ||
description: conmon manpages | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: containers/conmon | ||
use-tag: true | ||
strip-prefix: v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# Generated from https://git.alpinelinux.org/aports/plain/community/containers-common/APKBUILD | ||
package: | ||
name: containers-common | ||
version: 0.57.4 | ||
epoch: 0 | ||
description: Configuration files for container tools | ||
copyright: | ||
- license: Apache-2.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- build-base | ||
- busybox | ||
- git | ||
- go-md2man | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/containers/common | ||
tag: v${{package.version}} | ||
expected-commit: 215e898615b7de5f789be60784b8303f2ab6de3d | ||
|
||
- name: Setup containers-common | ||
runs: | | ||
install -d ${{targets.destdir}}/etc/containers/certs.d | ||
install -d ${{targets.destdir}}/etc/containers/oci/hooks.d | ||
install -d ${{targets.destdir}}/var/lib/containers/sigstore | ||
install -Dm644 pkg/config/containers.conf ${{targets.destdir}}/etc/containers/containers.conf | ||
install -Dm644 pkg/config/containers.conf ${{targets.destdir}}/usr/share/containers/containers.conf | ||
install -Dm644 pkg/seccomp/seccomp.json ${{targets.destdir}}/etc/containers/seccomp.json | ||
install -Dm644 pkg/seccomp/seccomp.json ${{targets.destdir}}/usr/share/containers/seccomp.json | ||
make -C docs | ||
make -C docs PREFIX=/usr DESTDIR="${{targets.destdir}}" install | ||
- name: Install configuration for containers-image | ||
runs: | | ||
git clone --depth=1 https://github.com/containers/image image | ||
cd ~/image | ||
# set unqualified-search-registries | ||
sed -E 's/# (unqualified-search-registries =).*/\1 ["docker.io"]/' -i ./registries.conf | ||
install -d ${{targets.destdir}}/etc/containers | ||
install -Dm644 registries.conf ${{targets.destdir}}/etc/containers/registries.conf | ||
make docs | ||
make DESTDIR="${{targets.destdir}}" install | ||
- name: Install configuration for containers-storage | ||
runs: | | ||
git clone --depth=1 https://github.com/containers/storage storage | ||
cd ~/storage | ||
# fix go-md2man path in containers-storage | ||
sed -E 's/(GOMD2MAN =).*/\1 go-md2man/' -i ./docs/Makefile | ||
# set default storage driver | ||
sed -E 's/(driver =) ""/\1 "overlay"/' -i ./storage.conf | ||
install -d ${{targets.destdir}}/etc/containers | ||
install -d ${{targets.destdir}}/usr/share/containers | ||
install -Dm644 storage.conf ${{targets.destdir}}/etc/containers/storage.conf | ||
install -Dm644 storage.conf ${{targets.destdir}}/usr/share/containers/storage.conf | ||
make -C docs | ||
make -C docs DESTDIR="${{targets.destdir}}" install | ||
- name: Install configuration for containers-shortnames | ||
runs: | | ||
git clone https://github.com/containers/shortnames | ||
cd ~/shortnames | ||
install -Dm644 shortnames.conf ${{targets.destdir}}/etc/containers/registries.conf.d/00-shortnames.conf | ||
- name: Install configuration for skopeo | ||
runs: | | ||
git clone https://github.com/containers/skopeo | ||
cd ~/skopeo | ||
install -Dm644 default-policy.json "$pkgdir"/etc/containers/policy.json | ||
install -Dm644 default.yaml "$pkgdir"/etc/containers/registries.d/default.yaml | ||
- uses: strip | ||
|
||
subpackages: | ||
- name: containers-common-doc | ||
pipeline: | ||
- uses: split/manpages | ||
description: Man pages for container tools | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: containers/common | ||
use-tag: true | ||
strip-prefix: v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Generated from https://git.alpinelinux.org/aports/plain/community/netavark/APKBUILD | ||
package: | ||
name: netavark | ||
version: 1.10.3 | ||
epoch: 0 | ||
description: Container network stack | ||
copyright: | ||
- license: Apache-2.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- build-base | ||
- busybox | ||
- go-md2man | ||
- protoc | ||
- rust | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/containers/netavark | ||
tag: v${{package.version}} | ||
expected-commit: d9f9fdc116ea3ed72a6eb4e59da33bf5d7c60b38 | ||
|
||
- runs: | | ||
cargo fetch --target="${{host.triplet.gnu}}" --locked | ||
cargo build --release --frozen --bin netavark | ||
go-md2man -in docs/netavark.1.md -out docs/netavark.1 | ||
install -Dm755 target/release/netavark \ | ||
-t ${{targets.destdir}}/usr/libexec/podman/ | ||
install -Dm644 docs/netavark.1 \ | ||
-t ${{targets.destdir}}/usr/share/man/man1/ | ||
- uses: strip | ||
|
||
subpackages: | ||
- name: netavark-doc | ||
pipeline: | ||
- uses: split/manpages | ||
description: netavark manpages | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: containers/netavark | ||
use-tag: true | ||
strip-prefix: v |
Oops, something went wrong.