-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f20156
commit fab8863
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM joshhsoj1902/docker-linuxgsm-scripts:1.0.0 AS scripts | ||
FROM gameservermanagers/gameserver:pmc | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
gettext-base \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Override entrypoint-user to support hooks | ||
COPY --from=scripts /entrypoint-user.sh /app/entrypoint-user.sh | ||
|
||
# Setup Layers | ||
COPY --from=scripts /scripts/apply-overlay.sh /app/hooks/pre-install/50-apply-overlay.sh | ||
COPY --from=scripts /scripts/apply-overlay.sh /app/hooks/post-install/50-apply-overlay.sh | ||
COPY --from=scripts /scripts/resolve-templates.sh /app/hooks/pre-install/51-resolve-templates.sh | ||
COPY --from=scripts /scripts/resolve-templates.sh /app/hooks/post-install/51-resolve-templates.sh | ||
ENV LGSM_HELPER_OVERLAY_SRC=/layers | ||
ENV LGSM_HELPER_OVERLAY_DEST=/data | ||
ENV LGSM_HELPER_TEMPLATE_EXTENSION=.overlay-template | ||
|
||
# Download Plugins | ||
COPY --from=scripts /scripts/minecraft-install-plugins.sh /app/hooks/post-install/52-install-plugins.sh | ||
## Set versions | ||
ENV LGSM_MINECRAFT_PLUGIN_DYNMAP_VERSION_ID=UXqPUg7D | ||
ENV LGSM_MINECRAFT_PLUGIN_DYNMAP_VERSION=Dynmap-3.7-beta-2-spigot.jar | ||
ENV LGSM_MINECRAFT_PLUGIN_ESSENTIALS_VERSION=2.20.1 | ||
ENV LGSM_MINECRAFT_PLUGIN_UNIFIED_METRICS_VERSION=0.3.8 |