-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
34 lines (23 loc) · 869 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# based on jaysonsantos/docker-minecraft-ftb-skyfactory3
FROM java:8
MAINTAINER [email protected]
# manual upgrades only chaps
# when you upgrade, you are responsible for removing the duplicate mods from your ./mods folder on your volume.
ENV VERSION=3.0.8
RUN apt-get update && apt-get install -y wget unzip
RUN adduser --disabled-password --home=/data --uid 1234 --gecos "minecraft user" minecraft
RUN mkdir /tmp/ftb && cd /tmp/ftb && \
wget -c https://media.forgecdn.net/files/2570/735/SevTech_Ages_Server_${VERSION}.zip -O sevtech.zip && \
unzip sevtech.zip && \
chown -R minecraft /tmp/ftb && \
bash /tmp/ftb/Install.sh
USER minecraft
EXPOSE 25565
ADD start.sh /start
VOLUME /data
ADD server.properties /tmp/server.properties
WORKDIR /data
CMD /start
ENV MOTD Sevtech ${VERSION} CAVEMAN on docker
ENV JVM_OPTS -Xms4096m -Xmx4096m
ENV FLIGHT true