Compare commits
1 Commits
master
...
ce5a322b21
| Author | SHA1 | Date | |
|---|---|---|---|
| ce5a322b21 |
@@ -9,7 +9,7 @@ packages = [
|
|||||||
"incus-client",
|
"incus-client",
|
||||||
"incus-tools",
|
"incus-tools",
|
||||||
"nodejs",
|
"nodejs",
|
||||||
"opentofu"
|
"opentofu",
|
||||||
"packer",
|
"packer",
|
||||||
"terragrunt",
|
"terragrunt",
|
||||||
"unzip",
|
"unzip",
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
20251017
|
20260106
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
docker
|
||||||
@@ -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",
|
||||||
|
"uv tool install uvx --from /app/artifactapi/dist/*.whl artifactapi",
|
||||||
|
"useradd -r -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",
|
||||||
|
"CMD [\"artifactapi\"]"
|
||||||
|
]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
20260106
|
||||||
@@ -1 +1 @@
|
|||||||
20251017
|
20260106
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
20251017
|
20260106
|
||||||
|
|||||||
Reference in New Issue
Block a user