initial commit

This commit is contained in:
thislight 2024-07-13 19:30:59 +08:00
commit 7ccafbd5d1
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
4 changed files with 62 additions and 0 deletions

View 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
View file

23
fedora-40/Containerfile Normal file
View 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
View file

@ -0,0 +1,4 @@
# https://learn.microsoft.com/zh-cn/vcpkg/get_started/get-started?pivots=shell-cmd
echo TODO
exit 1