feat: build artifactapi container
All checks were successful
Build / build (pull_request) Successful in 3m48s

- update base/rpmbuilder/actionsdind containers
- build artifactapi container
This commit is contained in:
Ben Vincent 2026-01-06 21:40:51 +11:00
parent 50425b052f
commit 1e155300b4
6 changed files with 23 additions and 3 deletions

View File

@ -1 +1 @@
20251017
20260106

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1,18 @@
# almalinux/9.6/rpmbuilder
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
scripts_post_packages = [
"git clone https://git.unkin.net/unkin/artifactapi.git /app/artifactapi && uv build --wheel /app/artifactapi",
"adduser -D -s /bin/sh appuser && chown -R appuser:appuser /app"
]
scripts_final = [
"dnf clean all",
"rm -rf /var/cache/dnf"
]
docker_changes = [
"EXPOSE 8000",
"HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:8000/health || exit 1",
"USER appuser",
"WORKDIR /app",
"RUN uv pip install /app/artifactapi/dist/*.whl",
"CMD [\"uv\", \"run\", \"artifactapi\"]"
]

View File

@ -0,0 +1 @@
20260106

View File

@ -1 +1 @@
20251017
20260106

View File

@ -1 +1 @@
20251017
20260106