commit d150dbcff961818f4d84779390b75df1f35708b0 Author: Xawirses Date: Sat May 15 15:50:08 2021 +0200 first commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..12656e2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM localhost:5000/minecraft-forge:1.12.2 +MAINTAINER Xawirses +LABEL maintainer="Xawirses " + +ENV E2L_VERSION 1.4.5 +ENV E2L_URL https://media.forgecdn.net/files/2905/555/Enigmatica2LightServer-${E2L_VERSION}.zip + +RUN wget ${E2L_URL} && unzip Enigmatica2LightServer-${E2L_VERSION}.zip && rm Enigmatica2LightServer-${E2L_VERSION}.zip + +EXPOSE 25565 + +ENTRYPOINT ["/usr/bin/entrypoint.sh"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..410263f --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Minecraft + +These are docker images for [enigmatica2light](https://www.curseforge.com/minecraft/modpacks/enigmatica2light) [Minecraft](https://minecraft.net) Modpack power by [Minecraft Forge](http://www.minecraftforge.net/). + +## Ports +* 25565 + +## Available environment variables + +```bash +ENV JAVA_RAM 4G +ENV JAVA_OPTS -XX:+UseG1GC -Xmx${JAVA_RAM} -Xms${JAVA_RAM} -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M +``` + +## Contributing + +Fork -> Patch -> Push -> Pull Request + +## Authors + +* [Xawirses](https://bitbucket.org/Xawirses/)