initial commit
This commit is contained in:
commit
7ccafbd5d1
4 changed files with 62 additions and 0 deletions
35
.forgejo/workflows/build-fedora-40.yml
Normal file
35
.forgejo/workflows/build-fedora-40.yml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
$schema: https://github.com/SchemaStore/schemastore/raw/master/src/schemas/json/github-workflow.json
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['master']
|
||||||
|
paths:
|
||||||
|
- "fedora-40/**"
|
||||||
|
- "shared/**"
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 3" # Every Thursday 00:00
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: linux-lg
|
||||||
|
container:
|
||||||
|
image: fedora:40
|
||||||
|
steps:
|
||||||
|
- name: Install Tools
|
||||||
|
run: 'dnf install -y --setopt install_weak_deps=False buildah qemu-user-static'
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build Images
|
||||||
|
run: |
|
||||||
|
cd fedora:40 && \
|
||||||
|
buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \
|
||||||
|
buildah build --arch amd64 --manifest code.lightstands.xyz/standcoded/fedora:40 . && \
|
||||||
|
buildah build --arch aarch64 --manifest code.lightstands.xyz/standcoded/fedora:40 .
|
||||||
|
- name: Push Images
|
||||||
|
run: |
|
||||||
|
buildah login code.lightstands.xyz \
|
||||||
|
--username ${{ env.GITHUB_ACTOR }} --password ${{ env.GITHUB_TOKEN }}
|
||||||
|
buildah manifest push code.lightstands.xyz/standcoded/fedora:40 --all
|
||||||
|
|
0
README.md
Normal file
0
README.md
Normal file
23
fedora-40/Containerfile
Normal file
23
fedora-40/Containerfile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
FROM fedora:40
|
||||||
|
|
||||||
|
RUN dnf update -y --setopt install_weak_deps=False && \
|
||||||
|
dnf install -y --setopt install_weak_deps=False \
|
||||||
|
git git-lfs git-ftp \
|
||||||
|
jq yq sqlite sqlite-devel coreutils brotli zstd binutils aria2 bash \
|
||||||
|
bison flex \
|
||||||
|
nodejs nodejs-devel nodejs-npm \
|
||||||
|
julia \
|
||||||
|
python3-devel python3-pip pipx poetry \
|
||||||
|
perl perl-devel perl-CPAN \
|
||||||
|
ruby ruby-devel rubygems \
|
||||||
|
php php-devel composer \
|
||||||
|
java-1.8.0-openjdk java-1.8.0-openjdk-devel maven-openjdk8 \
|
||||||
|
java-11-openjdk java-11-openjdk-devel \
|
||||||
|
java-17-openjdk java-17-openjdk-devel \
|
||||||
|
java-21-openjdk java-21-openjdk-devel \
|
||||||
|
&& \
|
||||||
|
dnf group install -y --setopt install_weak_deps=False "C Development Tools and Libraries" && \
|
||||||
|
dnf group install -y --setopt install_weak_deps=False "Container Management" &&\
|
||||||
|
dnf clean all -y
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/bin/bash" ]
|
4
shared/install-vcpkg.sh
Normal file
4
shared/install-vcpkg.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# https://learn.microsoft.com/zh-cn/vcpkg/get_started/get-started?pivots=shell-cmd
|
||||||
|
|
||||||
|
echo TODO
|
||||||
|
exit 1
|
Loading…
Reference in a new issue