feat(deploy): in-container build Dockerfiles — build the image without a host JDK
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start with the existing Dockerfile(s) at the repository root to see the current runtime stage layout, then check the README quickstart and the CI workflow that builds images. Add Dockerfile.jvm-build and Dockerfile.native-build as multi-stage files whose first stage builds the app with Maven and a JDK or Mandrel/GraalVM image, reusing a Maven cache mount. Done when both images build from a clean host with only Docker installed and CI builds them on release tags.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem Statement
Building the container today requires a host toolchain (JDK 21+, Maven, and GraalVM for the native image) before docker build can run. For the self-hosting audience — the project's core audience — that's real onboarding friction: "install Java to build the Docker image" defeats part of the point of shipping a container.
Proposed Solution
Add multi-stage, in-container build Dockerfiles so docker build is the only prerequisite:
Dockerfile.jvm-build— stage 1 builds with a Maven+JDK image, stage 2 is the existing runtime layout.Dockerfile.native-build— stage 1 builds the native image with a Mandrel/GraalVM builder image, stage 2 the existing micro base.- Layer-cache the Maven repository (
--mount=type=cache) so rebuilds are fast. - Document both in the README quickstart as the zero-toolchain path; keep the current host-build Dockerfiles for CI/dev speed.
- CI builds the in-container variants at least on release tags so they can't rot.
Pairs with #318 (try-before-self-host onboarding): both lower the "first successful deploy" bar.
Alternatives Considered
- Publish pre-built images only — necessary but not sufficient; self-hosters patching or pinning forks still need a no-toolchain build path.
- Devcontainer — helps contributors, not deployers.
Priority
Nice to have
- Lingua principale
- Java
- Stelle
- 35
- Fork
- 7
- Merge medio
- 9h 23m
- PR unite (30g)
- 154
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di devops-thiago/ThrillhouseBot
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
devops-thiago/ThrillhouseBot#1093 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
devops-thiago/ThrillhouseBot#321 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
devops-thiago/ThrillhouseBot#46 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
devops-thiago/ThrillhouseBot#1095 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
devops-thiago/ThrillhouseBot#1094 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di devops-thiago/ThrillhouseBot
Issue simili
-
area/plugin good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
kestra-io/plugin-soda#137 ·
-
area/plugin good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kestra-io/plugin-aws#816 ·
I maintainer di solito rispondono entro 2 giorni
-
area/plugin good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
kestra-io/plugin-kestra#200 ·
I maintainer di solito rispondono entro 1 giorno
-
bug untriaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
opensearch-project/search-relevance#618 ·
I maintainer di solito rispondono entro 3 giorni
-
[Studio][Bug] Invalid ACL wildcard entries inflate the risk scoreForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
apache/rocketmq-dashboard#6716 ·
I maintainer di solito rispondono entro 3 giorni