From 19ae76353b1824a7b42467fda29633c86d4d44ad Mon Sep 17 00:00:00 2001
From: Pinghao Wu <xdavidwuph@gmail.com>
Date: Sat, 29 Mar 2025 14:23:30 +0800
Subject: [PATCH] containers: apko-ize alpine-repo

---
 containers/alpine-repo.apko.yaml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 containers/alpine-repo.apko.yaml

diff --git a/containers/alpine-repo.apko.yaml b/containers/alpine-repo.apko.yaml
new file mode 100644
index 0000000..3102465
--- /dev/null
+++ b/containers/alpine-repo.apko.yaml
@@ -0,0 +1,28 @@
+archs: [amd64]
+
+contents:
+  repositories:
+    - https://dl-cdn.alpinelinux.org/alpine/v3.21/main
+  packages:
+    - abuild
+
+accounts:
+  groups:
+    - groupname: builder
+      gid: 1000
+    - groupname: abuild
+      gid: 300
+      members: [builder]
+  users:
+    - username: builder
+      uid: 1000
+      shell: /bin/sh
+  run-as: builder
+
+paths:
+  - # workaround for broken chmod on symlink (#1270)
+    path: /srv/http/alpine/pubkeys/Egloga-Alpine-AUTOMATED-CI-61864ad2.rsa.pub
+    type: empty-file
+  - path: /etc/apk/keys/Egloga-Alpine-AUTOMATED-CI-61864ad2.rsa.pub
+    type: symlink
+    source: /srv/http/alpine/pubkeys/Egloga-Alpine-AUTOMATED-CI-61864ad2.rsa.pub
-- 
2.45.2