Added more dependent packages; hopefully have it automatically running
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
FROM ubuntu:latest
|
||||
FROM ubuntu:bionic
|
||||
LABEL maintainer="William Miceli <git@williammiceli.me>"
|
||||
USER root
|
||||
WORKDIR /
|
||||
|
||||
ARG MC_SERVER_VERSION
|
||||
|
||||
RUN apt-get update && apt-get install -y curl \
|
||||
RUN apt-get update && apt-get install -y curl unzip libcurl4 \
|
||||
&& curl -o /MinecraftServer.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-${MC_SERVER_VERSION}.zip \
|
||||
&& apt-get purge -y curl && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY /entrypoint.sh /
|
||||
|
||||
EXPOSE 25565
|
||||
CMD ["/bin/bash"]
|
||||
# CMD ["/bin/sh", "/entrypoint.sh"] Temporary
|
||||
CMD ["/bin/sh", "/entrypoint.sh"]
|
||||
@@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Command to run: `LD_LIBRARY_PATH=. ./bedrock_server`
|
||||
|
||||
/bin/sh
|
||||
unzip /MinecraftServer.zip -d /MinecraftServer
|
||||
LD_LIBRARY_PATH=./MinecraftServer /MinecraftServer/bedrock_server
|
||||
Reference in New Issue
Block a user