Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

NixNux123
Copy link
Collaborator

feat(docker): add multi-target images and bump distroless base to Debian 12

  • Keep Gate-only image as distroless, switch base from static-debian11 to static-debian12
  • Add bedrock target bundling Eclipse Temurin 21 JRE for GeyserMC integration
  • Share single build stage; consistent entrypoint across targets
  • Enable CI to push as separate subpaths: /java and /bedrock

Should fix #567

NixNux123 and others added 7 commits September 11, 2025 12:23
…ian 12

- Keep Gate-only image as distroless, switch base from static-debian11 to static-debian12
- Add bedrock target bundling Eclipse Temurin 21 JRE for GeyserMC integration
- Share single build stage; consistent entrypoint across targets
- Enable CI to push as separate subpaths: /java and /bedrock
…ti-stage Dockerfile

- Build two targets from Dockerfile: java (distroless) and bedrock (Temurin JRE)
- Push to distinct image names:
- ghcr.io/OWNER/gate/java:{short-sha,latest}
- ghcr.io/OWNER/gate/bedrock:{short-sha,latest}
- Update image-ref step to output per-target refs
- Replace single build step with two target-specific builds
- Limit platforms to linux/amd64 and linux/arm64 to match base images
- Preserve VERSION build-arg propagation
This enables publishing both Gate flavors under separate URLs while keeping cache and tagging behavior.
…ti-stage Dockerfile

- Build two targets from Dockerfile: java (distroless) and bedrock (Temurin JRE)
- Push to distinct image names:
  - ghcr.io/minekube/gate/java:{short-sha,latest}
  - ghcr.io/minekube/gate/bedrock:{short-sha,latest}
- Update image-ref step to output per-target refs
- Replace single build step with two target-specific builds
- Preserve VERSION build-arg propagation
This enables publishing both Gate flavors under separate URLs while keeping cache and tagging behavior.
…JRE variant

- Remove java/bedrock target names, use default distroless image as primary
- Add separate JRE variant (target: jre) based on eclipse-temurin:21-jre
- Update CI to build standard image and JRE variant under nested structure:
  - ghcr.io/minekube/gate:{sha,latest} (distroless)
  - ghcr.io/minekube/gate/jre:{sha,latest} (JRE variant)
- Fix ENTRYPOINT consistency for proper argument handling
- Restore original platform support and build behavior
@NixNux123
Copy link
Collaborator Author

Switched back from two separate images under gate/java and gate/bedrock to the default (distroless) one as before, and added an additional gate/jre image based on Temurin-21-jre. This makes it possible to use the managed Geyser option of Gate while keeping things simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bedrock support not working with Docker
1 participant