Logo
Explore Help
Register Sign In
tudor/school_compare
1
0
Fork 0
You've already forked school_compare
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b8ecc5c58bf0cb93419b71622f4e74b4c4ead380
school_compare/integrator/Dockerfile.init

7 lines
161 B
Docker
Raw Normal View History

fix(kestra-init): use alpine+curl instead of kestra image to avoid 413 kestra/kestra:latest is ~500MB; the registry rejects the push. The init container only needs to POST flow YAMLs to the Kestra REST API (/api/v1/flows/import), which curl handles fine from a tiny alpine base. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 14:32:51 +00:00
FROM alpine:3.19
RUN apk add --no-cache curl
fix(kestra): bake flows into kestra-init image to fix empty /flows in container Bind mounts don't work on the remote Portainer host since the files aren't present there. Instead, Dockerfile.init copies the flow YAMLs into a dedicated image (kestra/kestra:latest base) that is built in CI and pulled by Portainer like the other images. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 12:40:43 +00:00
COPY flows/ /flows/
fix(kestra-init): use alpine+curl instead of kestra image to avoid 413 kestra/kestra:latest is ~500MB; the registry rejects the push. The init container only needs to POST flow YAMLs to the Kestra REST API (/api/v1/flows/import), which curl handles fine from a tiny alpine base. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 14:32:51 +00:00
COPY docker/kestra-init.sh /kestra-init.sh
RUN chmod +x /kestra-init.sh
CMD ["/kestra-init.sh"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API