ElementZero icon indicating copy to clipboard operation
ElementZero copied to clipboard

Dockerfile for automatic download etc

Open IvanTurgenev opened this issue 5 years ago • 2 comments

FROM busybox:latest                                 
WORKDIR /root                                       
COPY setup.sh .                                     
RUN chmod +x ./setup.sh ; ./setup.sh ; rm ./setup.sh
                                                    
FROM codehz/wine:bdlauncher-runtime                 
WORKDIR /data                                       
COPY --from=0 /root/ .                              

setup.sh

wget https://minecraft.azureedge.net/bin-win/bedrock-server-1.14.60.5.zip                          
unzip bedrock-server-1.14.60.5.zip                                                                 
wget https://github.com/Element-0/ElementZero/releases/download/200504/ElementZero-200504-win64.zip
unzip ElementZero-200504-win64.zip                                                                 
cp -r ./ElementZero-200504-win64/* ./                                                              
rm -rf ./ElementZero-200504-win64 ElementZero-200504-win64.zip bedrock-server-1.14.60.5.zip        

IvanTurgenev avatar May 05 '20 15:05 IvanTurgenev

probably also add custom.yaml idk also by add by downloading this you agree to microfot eula

https://github.com/itzg/docker-minecraft-bedrock-server/blob/master/bedrock-entry.sh

IvanTurgenev avatar May 05 '20 15:05 IvanTurgenev

If anyone is reading this now, I have a script that completely automates the install, including detecting if docker is installed and if not installing it, setting up a script which can be used to easily start the server, and more. Get it here https://github.com/elijahr2411/elementzero-docker-install-script/

elijahr2411 avatar Aug 23 '20 01:08 elijahr2411