add fedora 41
Some checks failed
/ build (push) Failing after 56s

This commit is contained in:
thislight 2024-11-28 19:54:18 +08:00
parent bacbf7d67e
commit 4df05c7457
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
8 changed files with 243 additions and 6 deletions

View file

@ -0,0 +1,19 @@
FROM fedora:41
RUN sh /imgbuild/fedora/instpkgs-minimal.sh
# We don't clean up dnf cache since user may want to install packages for their use
ADD containers.conf /etc/containers/
RUN sh /imgbuild/configure-nested-container.sh
VOLUME /var/lib/containers
VOLUME /home/action/.local/share/containers
# Set up environment variables to note that this is
# not starting with usernamespace and default to
# isolate the filesystem with chroot.
ENV _BUILDAH_STARTED_IN_USERNS="" BUILDAH_ISOLATION=chroot
ENTRYPOINT [ "/bin/bash" ]

View file

@ -0,0 +1,64 @@
# fedora-minimal:41
```yaml
container:
image: code.lightstands.xyz/standcoded/fedora-minimal:41
```
## Included Softwares
### General
- coreutils
- bash
- aria2
- jq
- yq
- zstd
- brotil
- sqlite
### Version Control
- git
- git-lfs
- git-ftp
### Container Management
- podman
- buildah
- fuse-overlayfs
### NodeJS
- nodejs
- nodejs-npm
### Python
- python3
- python3-devel
- python3-pip
- pipx
### Perl
- perl
- perl-CPAN
### Ruby
- ruby
- rubygems
### C
- clang
- gcc
## Additional Configuration
### Building Container Images
This images configured buildah to be correctly run under a container. You can use [The workflow of this project](../.forgejo/workflows/build-fedora-41.yml) as an example.

View file

@ -0,0 +1,2 @@
[engine]
cgroup_manager = "cgroupfs"