Skip to content

update docker images for Minecraft#1

Merged
RizonFTW merged 3 commits into
mainfrom
update/mcscripts
May 19, 2026
Merged

update docker images for Minecraft#1
RizonFTW merged 3 commits into
mainfrom
update/mcscripts

Conversation

@RizonFTW
Copy link
Copy Markdown
Contributor

@RizonFTW RizonFTW commented May 19, 2026

Description

Please provide a brief description of the changes introduced in this pull request.

Related Issues

Closes #<issue_number>

Checklist

  • My code follows the code style of this project.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation, if necessary.
  • I have added tests that prove my fix is effective or my feature works.
  • New and existing tests pass locally with my changes.

Screenshots (if applicable)

Additional Notes

Summary by CodeRabbit

  • Refactor
    • Updated Docker image configuration to support multiple Java versions for Minecraft server deployments.
    • Allows selecting specific Java runtimes for servers, improving compatibility and deployment flexibility for different modpacks and plugin sets.

Review Change Stack

@RizonFTW RizonFTW requested a review from NodeByteLTD as a code owner May 19, 2026 17:44
@RizonFTW RizonFTW self-assigned this May 19, 2026
@RizonFTW RizonFTW requested a review from CodeMeAPixel May 19, 2026 17:44
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 19, 2026

Warning

Rate limit exceeded

@NodeByteLTD has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 56 minutes and 47 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ae42894f-c8f0-4ce0-ae34-0fc1f8ce60cd

📥 Commits

Reviewing files that changed from the base of the PR and between ee8c4e8 and 7968174.

📒 Files selected for processing (1)
  • minecraft/install.ts
📝 Walkthrough

Walkthrough

The PR updates the Minecraft server Docker image configuration from a single hardcoded image string to a mapping object that associates Java versions with specific Pterodactyl yolks container images. The change modifies the type and value of the exported dockerImage constant.

Changes

Minecraft Docker Image Version Mapping

Layer / File(s) Summary
Docker image version mapping by Java version
minecraft/install.ts
dockerImage export changes from a static string ("itzg/minecraft-server:latest") to an object mapping Java versions ("Java 25", "Java 22", etc.) to Pterodactyl yolks ghcr.io/pterodactyl/yolks:* image tags. Consumer code (buildMinecraftCompose) is not shown updated to select a specific image from this mapping.

Estimated Code Review Effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

A rabbit hops through Docker streams,
Java versions in moonlit dreams,
Images mapped in objects neat,
But consumers await their feast! 🐰🐋

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is unfilled—it only contains the template structure with placeholder text and unchecked checklist items, lacking any concrete details about the changes, implementation rationale, or related issue references. Fill in the Description section with details about why dockerImage was changed from a string to a Java version mapping, specify the related issue number, and complete the checklist items and testing confirmation.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'update docker images for Minecraft' is specific and directly related to the main change, which updates the dockerImage variable from a single image tag to a mapping of Java version-specific image tags.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update/mcscripts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@minecraft/install.ts`:
- Around line 5-13: The dockerImage export was changed to an object but code
consuming it still interpolates it as a single string (the consumer uses image:
${dockerImage}), which will yield “[object Object]”; fix by either reverting
dockerImage to export a single string value or change the consumer to select a
concrete property from the object (e.g., reference dockerImage["Java 17"] or
dockerImage[selectedJavaVersion]) before interpolation; update the export or the
place that builds the Compose `image` value so the interpolated value is a plain
string.
- Around line 12-13: Add a trailing comma after the "Java 8":
"ghcr.io/pterodactyl/yolks:java_8" entry and terminate the exported value with a
semicolon so the object literal and the export statement are
formatter-compliant; update the object that contains the "Java 8" key and the
export/return line (the exported variable/object in this module) accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 16cf9ffa-f8e7-4858-be19-5968eee730cc

📥 Commits

Reviewing files that changed from the base of the PR and between cd0b48b and 946ece2.

📒 Files selected for processing (1)
  • minecraft/install.ts

Comment thread minecraft/install.ts Outdated
Comment thread minecraft/install.ts Outdated
@RizonFTW RizonFTW merged commit 444c9be into main May 19, 2026
9 checks passed
@RizonFTW RizonFTW deleted the update/mcscripts branch May 19, 2026 17:50
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.

1 participant