Add apko container definition, build workflow, and gitignore. Added container helper base image

This commit is contained in:
2026-01-23 10:41:21 +01:00
commit 9bc465fffd
3 changed files with 129 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
name: "Build base apps"
on:
push:
branches:
- "main"
paths:
- "applications/**"
workflow_dispatch:
env:
REGISTRY: "git.battlestati.one"
jobs:
build:
runs-on: linux_amd64
strategy:
matrix:
include:
- section: "app_base"
name: "container_helper"
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Login into docker registry"
run: echo "${{ secrets.RELEASE_TOKEN }}" | docker login ghcr.io -u ${{ gitea.actor }} --password-stdin
- name: "Build apko image"
run: |
docker run \
-v ~/.docker/config.json:/root/.docker/config.json:ro \
-v "$PWD":/work \
cgr.dev/chainguard/apko publish \
${{ matrix.section }}/${{ matrix.name }}/apko.yml \
${{ env.REGISTRY }}/moonlight-panel/${{ matrix.section }}/${{ matrix.name }}

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
# IntelliJ IDEA
.idea/
*.iml
*.iws
*.ipr
out/
# OS-specific
.DS_Store
Thumbs.db

View File

@@ -0,0 +1,81 @@
contents:
repositories:
- https://packages.wolfi.dev/os
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
packages:
# Base system packages
- wolfi-baselayout
- ca-certificates-bundle
# Core runtime libraries
- glibc
- glibc-locale-posix
- ld-linux
- libgcc
- libstdc++
# ICU libraries for internationalization
- icu
- libicu78
- icu78-data-full
# .NET 10 runtime packages
- dotnet-10
- dotnet-10-runtime
- aspnet-10-runtime
# OpenSSL/crypto libraries
- libcrypto3
- libssl3
# Compression libraries
- zlib
- xz
- libbrotlicommon1
- libbrotlidec1
# XML parsing
- libexpat1
# Tracing and debugging
- lttng-ust
- libunwind
# Timezone data
- tzdata
# Docker tools
- docker-cli
- docker-compose
accounts:
groups:
- groupname: nonroot
gid: 65532
users:
- username: nonroot
uid: 65532
gid: 65532
run-as: 65532
archs:
- x86_64
- arm64
environment:
DOTNET_RUNNING_IN_CONTAINER: "true"
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "false"
ASPNETCORE_HTTP_PORTS: "8080"
work-dir: /app
# Annotations for OCI image
annotations:
org.opencontainers.image.title: "Container Helper"
org.opencontainers.image.description: "Container Help for moonlight panel"
org.opencontainers.image.version: "v2.1"
org.opencontainers.image.vendor: "Moonlight-Panel"
org.opencontainers.image.licenses: "MIT"