dockerfiles/siverten/papermc/Dockerfile
Sivert V. Sæther 8c3769180d Add changes I've made manually on the build server
This also adds the xmr-stak cypto miner container image I created
That one is the first of potentially many images I won't push to the official Docker Hub registries, but insted to my own private registry
2022-06-19 16:21:23 +02:00

18 lines
293 B
Docker

FROM openjdk:17-slim
ENV MC_VERSION="latest" \
PAPER_BUILD="latest" \
MC_RAM="4G" \
JAVA_OPTS=""
ADD papermc.sh .
RUN apt-get update \
&& apt-get install -y wget \
&& apt-get install -y jq \
&& mkdir /papermc
CMD ["sh", "./papermc.sh"]
EXPOSE 25565
VOLUME /papermc