From 6eef6f128c6170e4aa54ba1c18d5923d1c1f052f Mon Sep 17 00:00:00 2001 From: 3arthqu4ke <56741599+3arthqu4ke@users.noreply.github.com> Date: Sun, 17 Jul 2022 17:08:48 +0200 Subject: [PATCH 1/2] [1.4.1] chmod hmc in Docker --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f7e0d7df..0b5f28dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ RUN chmod +x ./gradlew RUN ./gradlew build -Dhmc.jar.dir=headlessmc-scripts WORKDIR /headlessmc/headlessmc-scripts +RUN chmod +x hmc # add the scripts directory to the path. this allows us to just execute hmc ... comfortably without any ./ ENV PATH="/headlessmc/headlessmc-scripts:${PATH}" # TODO: maybe clean up, create a directory which contains nothing but the launcher jar and the hmc file? From 26f62cda06b5b2a2ae0100901b0358a870906bbd Mon Sep 17 00:00:00 2001 From: 3arthqu4ke <56741599+3arthqu4ke@users.noreply.github.com> Date: Sun, 17 Jul 2022 17:10:35 +0200 Subject: [PATCH 2/2] [1.4.1] just to be sure, chmod after setting path. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b5f28dd..7c5158ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN chmod +x ./gradlew RUN ./gradlew build -Dhmc.jar.dir=headlessmc-scripts WORKDIR /headlessmc/headlessmc-scripts -RUN chmod +x hmc # add the scripts directory to the path. this allows us to just execute hmc ... comfortably without any ./ ENV PATH="/headlessmc/headlessmc-scripts:${PATH}" +RUN chmod +x hmc # TODO: maybe clean up, create a directory which contains nothing but the launcher jar and the hmc file?