9 Commits
php84 ... main

Author SHA1 Message Date
maurice
3cdacc7eb8 Updates
All checks were successful
Build containers / changes (push) Successful in 2s
Build containers / base-image (push) Successful in 1m7s
Build containers / dependent-images (php) (push) Successful in 1s
Build containers / dependent-images (rust) (push) Successful in 1s
Build containers / dependent-images (dotnet) (push) Successful in 1m31s
2026-01-29 19:04:55 +01:00
maurice
911855d95c Merge branch 'ci-move-to-job-v2'
Some checks failed
Build containers / changes (push) Successful in 2s
Build containers / base-image (push) Successful in 2m5s
Build containers / dependent-images (dotnet) (push) Failing after 30s
Build containers / dependent-images (php) (push) Successful in 32s
Build containers / dependent-images (rust) (push) Successful in 2m4s
2026-01-27 19:50:12 +01:00
maurice
c49270c7cf update
Some checks failed
Build container / fedora-build (push) Failing after 1m41s
2026-01-27 19:36:02 +01:00
maurice
c618572a18 Fix
Some checks failed
Build container / fedora-build (push) Has been cancelled
2026-01-27 19:33:29 +01:00
maurice
ae8a5ec260 Update container
Some checks failed
Build container / fedora-build (push) Has been cancelled
2026-01-27 19:29:30 +01:00
314e269881 fix: cache dnf installs (and remove cache from images)
All checks were successful
Build containers / changes (pull_request) Successful in 2s
Build containers / base-image (pull_request) Successful in 1m8s
Build containers / dependent-images (php) (pull_request) Successful in 1m11s
Build containers / dependent-images (dotnet) (pull_request) Successful in 4m9s
Build containers / dependent-images (rust) (pull_request) Successful in 4m23s
2025-12-29 17:20:16 +01:00
b012abc3ed ci: move ci to job v2 2025-12-29 17:19:59 +01:00
maurice
efe72f205d Update
All checks were successful
Build container / fedora-build (push) Successful in 8m11s
2025-12-03 19:56:25 +01:00
maurice
28843cdb89 Updates
All checks were successful
Build container / fedora-build (push) Successful in 9m53s
2025-11-26 13:40:39 +01:00
11 changed files with 163 additions and 116 deletions

111
.gitea/workflows/build.yaml Normal file
View File

@@ -0,0 +1,111 @@
name: Build containers
on:
workflow_dispatch:
push:
branches: ["main"]
paths: ["containers/**", ".gitea/workflows/build.yaml"]
pull_request:
branches: ["main"]
paths: ["containers/**", ".gitea/workflows/build.yaml"]
jobs:
changes:
runs-on: job-v2
outputs:
any_change: ${{ steps.filter.outputs.workflow == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
fedora: ${{ steps.filter.outputs.fedora == 'true' }}
php: ${{ steps.filter.outputs.php == 'true' }}
rust: ${{ steps.filter.outputs.rust == 'true' }}
dotnet: ${{ steps.filter.outputs.dotnet == 'true' }}
steps:
- uses: actions/checkout@v4
- uses: https://github.com/dorny/paths-filter@v3
id: filter
with:
filters: |
workflow: ['.gitea/workflows/build.yaml']
fedora: ['containers/fedora/**']
php: ['containers/php/**']
rust: ['containers/rust/**']
dotnet: ['containers/dotnet/**']
base-image:
needs: [changes]
if: ${{ needs.changes.outputs.fedora == 'true' || needs.changes.outputs.any_change == 'true' }}
runs-on: job-v2
steps:
- uses: actions/checkout@v4
- name: Log in
uses: redhat-actions/podman-login@v1
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build
id: build
uses: job79/buildah-build@65b3793a1370c1ccd74a5c0d090d70eb9637a4ef
with:
image: maurice/fedora
tags: ${{ github.ref_name }}
context: ./containers/fedora
containerfiles: ./containers/fedora/Containerfile
- name: Push
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build.outputs.image }}
tags: ${{ steps.build.outputs.tags }}
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
extra-args: |
--compression-format=zstd
--compression-level=12
dependent-images:
needs: [changes, base-image]
if: always() && needs.changes.result == 'success' && (needs.base-image.result == 'success' || needs.base-image.result == 'skipped')
runs-on: job-v2
strategy:
fail-fast: false
matrix:
container: [php, rust, dotnet]
steps:
- name: Check if build needed
id: check
run: |
if [[ "${{ matrix.container }}" == "php" && "${{ needs.changes.outputs.php }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
if [[ "${{ matrix.container }}" == "rust" && "${{ needs.changes.outputs.rust }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
if [[ "${{ matrix.container }}" == "dotnet" && "${{ needs.changes.outputs.dotnet }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
if [[ "${{ needs.changes.outputs.any_change }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
- name: Clone repo
if: steps.check.outputs.run == 'true'
uses: actions/checkout@v4
- name: Log in
if: steps.check.outputs.run == 'true'
uses: redhat-actions/podman-login@v1
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build
id: build
if: steps.check.outputs.run == 'true'
uses: job79/buildah-build@65b3793a1370c1ccd74a5c0d090d70eb9637a4ef
with:
image: maurice/${{ matrix.container }}
tags: ${{ github.ref_name }}
context: ./containers/${{ matrix.container }}
containerfiles: ./containers/${{ matrix.container }}/Containerfile
build-args: TAG=${{ github.ref_name }}
- name: Push
if: steps.check.outputs.run == 'true'
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build.outputs.image }}
tags: ${{ steps.build.outputs.tags }}
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
extra-args: |
--compression-format=zstd
--compression-level=12

View File

@@ -1,68 +0,0 @@
name: Build container
on:
workflow_dispatch: # This makes the workflow manually triggered
push:
branches: ["main"]
paths:
- "containers/fedora/**"
- "containers/dotnet/**"
- "containers/rust/**"
- "containers/php/**"
- ".gitea/workflows/fedora.yaml"
pull_request:
branches: ["main"]
jobs:
fedora-build:
runs-on: job-latest
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Fedora container
uses: docker/build-push-action@v5
with:
context: ./containers/fedora
file: ./containers/fedora/Containerfile
push: true
tags: git.plabble.org/maurice/fedora:${{ github.ref_name }}
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
- name: Build and push Rust container
uses: docker/build-push-action@v5
with:
context: ./containers/rust
file: ./containers/rust/Containerfile
push: true
tags: git.plabble.org/maurice/rust:${{ github.ref_name }}
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
- name: Build and push PHP container
uses: docker/build-push-action@v5
with:
context: ./containers/php
file: ./containers/php/Containerfile
push: true
tags: git.plabble.org/maurice/php:${{ github.ref_name }}
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
- name: Build and push C# container
uses: docker/build-push-action@v5
with:
context: ./containers/dotnet
file: ./containers/dotnet/Containerfile
push: true
tags: git.plabble.org/maurice/dotnet:${{ github.ref_name }}
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true

View File

@@ -1,48 +1,40 @@
name: Build optional dev containers
on:
workflow_dispatch: # This makes the workflow manually triggered
workflow_dispatch:
jobs:
fedora-build:
runs-on: job-latest
runs-on: job-v2
strategy:
max-parallel: 1
matrix:
container: [rider, android]
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Registry
uses: docker/login-action@v3
- name: Log in
uses: redhat-actions/podman-login@v1
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Rider container
uses: docker/build-push-action@v5
- name: Build ${{ matrix.container }} container
id: build_image
uses: job79/buildah-build@65b3793a1370c1ccd74a5c0d090d70eb9637a4ef
with:
context: ./containers/rider
file: ./containers/rider/Containerfile
push: true
tags: git.plabble.org/maurice/rider:${{ github.ref_name }}
image: maurice/${{ matrix.container }}
tags: ${{ github.ref_name }}
context: ./containers/${{ matrix.container }}
containerfiles: ./containers/${{ matrix.container }}/Containerfile
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
- name: Build and push Android Studio container
uses: docker/build-push-action@v5
- name: Push ${{ matrix.container }} container
uses: redhat-actions/push-to-registry@v2
with:
context: ./containers/android
file: ./containers/android/Containerfile
push: true
tags: git.plabble.org/maurice/android:${{ github.ref_name }}
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
- name: Build and push Flutter container
uses: docker/build-push-action@v5
with:
context: ./containers/flutter
file: ./containers/flutter/Containerfile
push: true
tags: git.plabble.org/maurice/flutter:${{ github.ref_name }}
build-args: TAG=${{ github.ref_name }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
image: ${{ steps.build_image.outputs.image }}
tags: ${{ steps.build_image.outputs.tags }}
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
extra-args: |
--compression-format=zstd
--compression-level=12

View File

@@ -3,7 +3,9 @@ ARG studio_version="2025.1.4.8"
ARG download_uri="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${studio_version}/android-studio-${studio_version}-linux.tar.gz"
USER root
RUN dnf -y install libXext libXrender libXtst libX11 freetype freetype-devel mesa-libGLU
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf -y --setopt=keepcache=1 install libXext libXrender libXtst libX11 freetype freetype-devel mesa-libGLU
USER user
RUN curl -Lo /tmp/studio.tar.gz "${download_uri}" && \
@@ -15,4 +17,4 @@ RUN curl -Lo /tmp/studio.tar.gz "${download_uri}" && \
RUN echo 'alias studio="$HOME/AndroidStudio/bin/studio"' >> /home/user/.bashrc
RUN echo 'export ANDROID_HOME="$HOME/Android/Sdk"' >> /home/user/.bashrc
RUN echo 'export PATH="$ANDROID_HOME/platform-tools:$PATH"' >> /home/user/.bashrc
RUN echo 'export PATH="$ANDROID_HOME/platform-tools:$PATH"' >> /home/user/.bashrc

View File

@@ -1,10 +1,11 @@
FROM git.plabble.org/maurice/fedora:main
USER root
RUN dnf -y install dotnet-sdk-9.0
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf -y --setopt=keepcache=1 install dotnet-sdk-9.0 dotnet-sdk-10.0
COPY install-roslyn.sh /tmp/install-roslyn.sh
RUN chmod +x /tmp/install-roslyn.sh && /tmp/install-roslyn.sh
USER user
RUN dotnet tool install --global dotnet-ef
RUN dotnet tool install --global dotnet-ef

View File

@@ -1,5 +1,5 @@
#!/bin/bash
version="v1.39.15-beta.60"
version="v1.39.15"
arch="linux-x64"
link="https://github.com/OmniSharp/omnisharp-roslyn/releases/download/$version/omnisharp-$arch-net6.0.tar.gz"

View File

@@ -1,11 +1,11 @@
FROM quay.io/fedora/fedora:43
# === install system packages ===
RUN dnf update -y && \
dnf copr enable -y atim/lazygit && \
dnf -y install procps ping bash-completion glibc-langpack-en \
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf update -y && \
dnf -y --setopt=keepcache=1 install procps ping bash-completion glibc-langpack-en \
host-spawn dbus-launch \
git pnpm helix zip
git pnpm helix zip rsync
# === setup user ===
RUN useradd -ms /bin/bash user && \

View File

@@ -1,2 +1,2 @@
#!/bin/bash
arg "-p 8080:8080"
arg "-p 5173:5173 --network dev-php"

View File

@@ -1,4 +1,4 @@
FROM git.plabble.org/maurice/fedora:main
ARG php_version="8.1" # 8.4 is latest
ARG php_version="8.5"
RUN /bin/bash -c "export TERM=xterm && $(curl -fsSL https://php.new/install/linux/${php_version})"

View File

@@ -1,9 +1,10 @@
FROM git.plabble.org/maurice/dotnet:main
ARG rider_version="2025.2.4"
ARG rider_version="2025.3.2"
ARG download_uri="https://download.jetbrains.com/rider/JetBrains.Rider-${rider_version}.tar.gz"
USER root
RUN dnf -y install libXext libXrender libXtst libX11 freetype freetype-devel
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf -y --setopt=keepcache=1 install libXext libXrender libXtst libX11 freetype freetype-devel
USER user
RUN curl -Lo /tmp/rider.tar.gz "${download_uri}" && \
@@ -12,4 +13,4 @@ RUN curl -Lo /tmp/rider.tar.gz "${download_uri}" && \
rm /tmp/rider.tar.gz && \
mv /home/user/Rider/JetBrains*/* /home/user/Rider
RUN echo 'alias rider="$HOME/Rider/bin/rider"' >> /home/user/.bashrc
RUN echo 'alias rider="$HOME/Rider/bin/rider"' >> /home/user/.bashrc

View File

@@ -1,4 +1,12 @@
FROM git.plabble.org/maurice/fedora:main
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN . '/home/user/.cargo/env' && rustup component add rust-analyzer
RUN . '/home/user/.cargo/env' && rustup component add rust-analyzer
# Raspberry Pi Pico tools
RUN sudo dnf install -y \
systemd-devel \
pkg-config \
&& dnf clean all
RUN . "$HOME/.cargo/env" && cargo install elf2uf2-rs --locked
RUN . "$HOME/.cargo/env" && rustup target add thumbv6m-none-eabi