From 7f5d96d2b998ac2666346f7caab0ae27a79c513d Mon Sep 17 00:00:00 2001 From: ChiaraBm Date: Fri, 13 Feb 2026 07:44:31 +0100 Subject: [PATCH] Added moonlight app base --- .gitea/workflows/build-base-apps.yml | 2 + app_base/moonlight/apko.yml | 80 ++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 app_base/moonlight/apko.yml diff --git a/.gitea/workflows/build-base-apps.yml b/.gitea/workflows/build-base-apps.yml index e990c2a..c88a0e2 100644 --- a/.gitea/workflows/build-base-apps.yml +++ b/.gitea/workflows/build-base-apps.yml @@ -20,6 +20,8 @@ jobs: include: - section: "app_base" name: "container_helper" + - section: "app_base" + name: "moonlight" steps: - name: "Checkout code" diff --git a/app_base/moonlight/apko.yml b/app_base/moonlight/apko.yml new file mode 100644 index 0000000..037e5e4 --- /dev/null +++ b/app_base/moonlight/apko.yml @@ -0,0 +1,80 @@ +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 + + # Curl for health check + - curl + +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: "Moonlight" + org.opencontainers.image.description: "Next generation hosting panel" + org.opencontainers.image.version: "v2.1" + org.opencontainers.image.vendor: "Moonlight-Panel" + org.opencontainers.image.licenses: "MIT" \ No newline at end of file