mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-17 17:18:11 +00:00
Add AOT cache for mc-image-helper on Java 25+ (#4341)
This commit is contained in:
1 parent
8f08edec05
commit
4cb8a05f9c
5 files changed
+43
No files matched your search
@@ -66,6 +66,12 @@ RUN curl -fsSL ${MC_HELPER_BASE_URL}/mc-image-helper-${MC_HELPER_VERSION}.tgz \
|
||||
&& ln -s /usr/share/mc-image-helper-${MC_HELPER_VERSION}/ /usr/share/mc-image-helper \
|
||||
&& ln -s /usr/share/mc-image-helper/bin/mc-image-helper /usr/bin
|
||||
|
||||
|
||||
ENV MC_IMAGE_HELPER_AOT_CACHE=/usr/share/mc-image-helper/cache/aot.cache
|
||||
ARG ENABLE_MC_HELPER_AOT_WARMUP=0
|
||||
RUN --mount=target=/build,source=build \
|
||||
/build/create-aot-cache.sh
|
||||
|
||||
VOLUME ["/data"]
|
||||
WORKDIR /data
|
||||
|
||||
|
||||
Reference in new issue
Block a user