AshDevFr / docker-spigot

MIT License
33 stars 18 forks source link

Rebuilds jar when REV is changed, plus non-root support for Alpine #8

Closed mathuin closed 5 years ago

mathuin commented 6 years ago

The REV variable identifies which version of Spigot to run. If this variable is unset, the init script sets it to "latest". If the variable is set to "latest", the jar file is rebuilt every time the container is started. If the variable is set to a version like "1.12", that particular version is built only if it has not already been built. This saves time on restart and makes upgrades easy.

Part of making this work involved fixing the outstanding issue with the Alpine image running as root.

mathuin commented 6 years ago

Closes #5

hammypants commented 6 years ago

+1 This is needed for version updates. Or at least some way to handle #5 @AshDevFr ?

AshDevFr commented 5 years ago

@mathuin Hi, thank you for the PR, I'll take a look soon