Skip to content

Commit 49f0cf4

Browse files
committed
Switch to zulu build since openjdk alpine is outdated, add support for 1.18.1
1 parent 2cb5b4f commit 49f0cf4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

cli/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44

55
# Conventional directory for build output.
66
build/
7+
8+
# Generated files
9+
barrel.exe
10+
barrel

cli/bin/barrel.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import 'startfiles.dart';
1515
var dio = Dio();
1616
var uuids = Uuid();
1717

18-
var spigotVersions = ["1.17.1", "1.16.5", "1.12.2", "1.8.8"]; //Common versions
19-
var javaVersions = ["16", "16", "16", "16"];
18+
var spigotVersions = ["1.18.1", "1.17.1", "1.16.5", "1.12.2", "1.8.8"]; //Common versions
19+
var javaVersions = ["17", "16", "16", "16", "16"];
2020

2121
var helpMessage =
2222
"""

cli/bin/dockerfile.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var template =
22
"""
3-
FROM openjdk:%JAVA_VERSION%-alpine
3+
FROM azul/zulu-openjdk-alpine:%JAVA_VERSION%-jre
44
LABEL baseimage.author="[email protected]"
55
LABEL baseimage.src="https://github.com/hoppermc/Hopper"
66
LABEL generated.version="%VERSION%"

0 commit comments

Comments
 (0)