Added more dependent packages; hopefully have it automatically running

This commit is contained in:
William Miceli committed 2019-08-31 20:48:24 -04:00
1 parent 394d770403
commit 0aa625f425
2 files changed
+6 -7

No files matched your search

+4 -4
View File
@@ -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"]