initial commit
This commit is contained in:
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
Reference in New Issue
Block a user