From aeb29e4bf772701f7f883594c865589c22e3a90d Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Wed, 13 Apr 2022 21:33:09 +0200 Subject: [PATCH] Add LuckPerms mod to container (re. #276) --- Dockerfile | 2 ++ Dockerfile-local | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index dc0e6277..ac7a3902 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM openjdk:11-jdk as build # https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && apt install -y nodejs && node --version +RUN mkdir /mods/ && cd /mods/ && curl -sS -L -J -f -O https://github.com/OASIS-learn-study/swissarmyknife-minecraft-server-binaries/raw/master/LuckPerms-Sponge-5.3.98.jar + COPY . /project WORKDIR /project RUN ./gradlew build -PexcludeTests="**/SeleniumTest*" diff --git a/Dockerfile-local b/Dockerfile-local index 7a93d654..53b80fcd 100644 --- a/Dockerfile-local +++ b/Dockerfile-local @@ -5,6 +5,8 @@ FROM itzg/minecraft-server:java8-multiarch # https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && apt install -y nodejs && node --version +RUN mkdir /mods/ && cd /mods/ && curl -sS -L -J -f -O https://github.com/OASIS-learn-study/swissarmyknife-minecraft-server-binaries/raw/master/LuckPerms-Sponge-5.3.98.jar + COPY web/build/libs/*-all.jar /mods/ COPY minecraft-server/* /data-init/