fix(java): new constructor class breaking Forge
The new Java release contains a manifest constructor class with new parameters that older Forge versions do not support. This breaks all older Forge versions and modpacks. Freezing the versions to a previous known working release. This freeze should be released once Forge backports the changes or decides to abandon old versions, and we'd need newer Java versions. It shouldn't be a significant issue considering old Quay-based images were updated once a year.
This commit is contained in:
parent
290066dd4f
commit
29258345ff
2 changed files with 18 additions and 2 deletions
|
@ -20,7 +20,15 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM --platform=$TARGETOS/$TARGETARCH openjdk:11-slim
|
# Hard coded specific Java version to fix issue with manifest constructor class in
|
||||||
|
# newer Java versions breaking all modpacks and versions that are not using the
|
||||||
|
# latest Forge release. This should be removed when the manifest constructor class
|
||||||
|
# issue is backported or if Forge decides to abandon old versions and we need
|
||||||
|
# newer Java versions. Old Quay images were updated like once a year, so it's ok.
|
||||||
|
#
|
||||||
|
# @see https://github.com/McModLauncher/modlauncher/issues/91
|
||||||
|
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH openjdk:11.0.13-slim
|
||||||
|
|
||||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,15 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM --platform=$TARGETOS/$TARGETARCH openjdk:8-slim
|
# Hard coded specific Java version to fix issue with manifest constructor class in
|
||||||
|
# newer Java versions breaking all modpacks and versions that are not using the
|
||||||
|
# latest Forge release. This should be removed when the manifest constructor class
|
||||||
|
# issue is backported or if Forge decides to abandon old versions and we need
|
||||||
|
# newer Java versions. Old Quay images were updated like once a year, so it's ok.
|
||||||
|
#
|
||||||
|
# @see https://github.com/McModLauncher/modlauncher/issues/91
|
||||||
|
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH openjdk:8u312-slim
|
||||||
|
|
||||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue