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

23
fedora-41/Containerfile Normal file
View file

@ -0,0 +1,23 @@
FROM code.lightstands.xyz/standcoded/fedora-minimal:41
RUN dnf install -y --setopt install_weak_deps=False sqlite-devel binutils
RUN dnf install -y --setopt install_weak_deps=False nodejs-devel poetry perl-devel ruby-devel
RUN dnf install -y --setopt install_weak_deps=False php php-devel composer
RUN dnf install -y --setopt install_weak_deps=False java-1.8.0-openjdk java-1.8.0-openjdk-devel
RUN dnf install -y --setopt install_weak_deps=False java-11-openjdk java-11-openjdk-devel
RUN dnf install -y --setopt install_weak_deps=False java-17-openjdk java-17-openjdk-devel
RUN dnf install -y --setopt install_weak_deps=False java-21-openjdk java-21-openjdk-devel
RUN dnf install -y --setopt install_weak_deps=False qemu-user-static qemu-user-binfmt
RUN dnf install -y --setopt install_weak_deps=False bison flex vcpkg
RUN dnf group install -y --setopt install_weak_deps=False "C Development Tools and Libraries"
RUN npm -g install corepack

91
fedora-41/README.md Normal file
View file

@ -0,0 +1,91 @@
# fedora:41
```yaml
container:
image: code.lightstands.xyz/standcoded/fedora:40
```
## Included Softwares
### General
- coreutils
- bash
- aria2
- jq
- yq
- zstd
- brotil
- sqlite
- sqlite-devel
- binutils
### Version Control
- git
- git-lfs
- git-ftp
### Container Management
- podman
- buildah
- fuse-overlayfs
- qemu-user-static
- qemu-user-binfmt
### NodeJS
- nodejs
- nodejs-npm
- nodejs-devel
- corepack
### Python
- python3-devel
- python3-pip
- pipx
- poetry
### Perl
- perl
- perl-CPAN
- perl-devel
### Ruby
- ruby
- rubygems
- ruby-devel
### C/C++
- clang
- gcc
- bison
- flex
- "C Development Tools and Libraries"
- vcpkg
### PHP
- php
- php-devel
- composer
### Java
| Version | Packages |
| - | - |
| 1.8.0 | java-1.8.0-openjdk, java-1.8.0-openjdk-devel |
| 11 | java-11-openjdk, java-11-openjdk-devel |
| 17 | java-17-openjdk, java-17-openjdk-devel |
| 21 | java-21-openjdk, java-21-openjdk-devel |
## 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.