binhex / arch-minecraftserver

Docker build script for Arch Linux base with Minecraft Java server
GNU General Public License v3.0
17 stars 27 forks source link

Change server version #4

Open DesertCookie opened 3 years ago

DesertCookie commented 3 years ago

Since there's no way to set the server version via an environmental variable I tried copying the jar I wanted and renamed it to minecraft_server.jar. It gets overwritten with the 1.16.5 version though.

binhex commented 3 years ago

two options for this:-

  1. specifically use the tagged version you want, see here for a list of tags:-https://registry.hub.docker.com/repository/docker/binhex/arch-minecraftserver/tags?page=1&ordering=last_updated
  2. specify the jar as CUSTOM_JAR_PATH, this will prevent the usage of the latest jar file.