Skip to content

Commit

Permalink
fix minecraft_installer permission
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Feb 1, 2024
1 parent e000b9a commit 6678a27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ ENV COMMAND="/usr/bin/env java -jar"
ENV ARGS=minecraft.jar
COPY ./minecraft_installer.tmp /usr/local/bin/minecraft_installer
RUN chmod 0755 /usr/local/bin/minecraft_installer
STOPSIGNAL SIGINT
Expand Down Expand Up @@ -91,13 +92,15 @@ RUN apk add --no-cache openjdk${_JAVA}-jre && \\
WORKDIR /minecraft
COPY --from=server_installer /usr/local/bin/minecraft_installer /usr/local/bin/minecraft_installer
COPY ${BASE_DIR}/entry_point.sh /root/entry_point.sh
COPY ${BASE_DIR}/init_mcdr.sh /root/init.sh
ENV COMMAND="/usr/bin/env python3 -m mcdreforged"
ENV ARGS=
COPY ./minecraft_installer.tmp /usr/local/bin/minecraft_installer
RUN chmod 0755 /usr/local/bin/minecraft_installer
STOPSIGNAL SIGINT
ENTRYPOINT ["/root/entry_point.sh", "/root/init.sh"]
Expand Down

0 comments on commit 6678a27

Please sign in to comment.