-
-
Notifications
You must be signed in to change notification settings - Fork 44
!!! Reworking the Paper download to work with their new API endpoint #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… This includes cleaning up the version extraction from the JSON response by using jq. Adding jq to the Dockerfiles to support this. Also adding vim to the Dockerfiles so that users have a choice between nano and vim.
This could be consolidated quite a bit, as well as other parts of the script with how it handles things like |
I built this locally, pushed to my internal registry, and updated one of my test servers to use this test image. It successfully downloaded the experimental 1.21.4 build:
|
@TheRemote - Any chance we could get this pulled in? |
I do have a slicker version of this that I'm including in another PR I'm working on to overhaul a fair bit of the |
Waiting on this fix to be able to run my fresh install of the server. |
While we wait, for a fresh install you could manually download the jar file and place it in the minecraft directory in your container’s volume mount, then start it up and it should work. |
Fixes #40
Reworking the Paper server download to work with their new API endpoint. This includes cleaning up the version extraction from the JSON response by using
jq
.Adding
jq
to the Dockerfiles to support this.Also adding
vim
to the Dockerfiles so that users have a choice betweennano
andvim
.Tested locally with a version with a stable build:
and a version with only an experimental build: