Add CI builds for all custom images and fix Kong Dockerfile
All checks were successful
Build and Push Docker Images / build-portal (push) Successful in 2m32s
Build and Push Docker Images / build-infra (docker/db, monacousa-db) (push) Successful in 1m30s
Build and Push Docker Images / build-infra (docker/kong, monacousa-kong) (push) Successful in 34s
Build and Push Docker Images / build-infra (docker/migrate, monacousa-migrate) (push) Successful in 1m13s

- Gitea Actions now builds monacousa-db, monacousa-kong, and
  monacousa-migrate alongside the portal image on every push to main
- Fix Kong Dockerfile permission issue (use COPY --chmod instead of RUN chmod)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-06 10:56:55 +01:00
parent 2ed04cd9f7
commit 3a72b0a184
2 changed files with 58 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
FROM kong:2.8.1
# Embed the config template and wrapper script
USER root
COPY kong.yml.template /var/lib/kong/kong.yml.template
COPY docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh
RUN chmod +x /docker-entrypoint-wrapper.sh
COPY --chmod=755 docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh
USER kong
ENTRYPOINT ["/docker-entrypoint-wrapper.sh"]
CMD ["kong", "docker-start"]