Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions minecraft_ftb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ WORKDIR /server
RUN wget -q https://minecraft.curseforge.com/projects/project-ozone-2-reloaded/files/2509703/download -O server.zip &&\
unzip server.zip &&\
rm server.zip &&\
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last line should not contain &&\

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpicking but &&\ => && \

echo "#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula)." > eula.txt &&\
echo \#$(date) >> eula.txt &&\
echo "eula=true" >> eula.txt &&\
chmod +x ServerStart.sh &&\
chmod +x FTBInstall.sh &&\
./FTBInstall.sh


COPY ops.json /server/ops.json

VOLUME [/server/config]
VOLUME [/server/world]

EXPOSE 25565

CMD ./ServerStart.sh
CMD ./minecraft_server.1.7.10.sh
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy the line from vanilla, replacing 'server' with 'forge'

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get better init script alignment pls?