I have a container that I use to run a service called Pterodactyl. This software is used to configure, manage, and host video game servers - amongst those is Minecraft. A recent update to Minecraft has moved the entire game over to Java 16, so I need to update the java version that runs on the container in order to run the server. I am having trouble doing so and my research keeps putting me at a dead end.
Here is what I have tried:
docker run -u 0 -it [imageID] /bin/bash to enter a shell to the container that runs my service.
shows Openjdk version “1.8.0_282”
I then attempted to install java 16, which required a few dependencies. Those were the apt
Once that was done, I was able to use
apt install oracle-java16-installer --install-recommends
That ran, then exited with an error because the directory
/usr/share/man/man1/jar.1.gz.dpkg-tmp doesnt exist.
Sorry for the wall of text, but I wanted to provide as much context as possible since every step I take to get this container updated ends at a dead end. Any and all help is tremendously appreciated!