ftb-revelations-docker/Dockerfile

25 lines
536 B
Docker
Raw Normal View History

2021-01-28 23:39:59 +00:00
FROM openjdk:8-jre
EXPOSE 25565
# Updating container
RUN apt-get update && \
apt-get install apt-utils --yes && \
apt-get upgrade --yes --allow-remove-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /minecraft
RUN mkdir /data && \
wget --content-disposition https://api.modpacks.ch/public/modpack/35/174/server/linux && \
chmod u+x serverinstall_35_174
RUN yes | /minecraft/serverinstall_35_174
COPY startDocker.sh /minecraft/startDocker.sh
RUN chmod +x startDocker.sh
CMD /minecraft/startDocker.sh