Add MCSManager related projects

This commit is contained in:
Kirigaya Kazuto 2021-02-10 10:22:59 +00:00
parent f100beef05
commit 226c1648be
7 changed files with 29 additions and 0 deletions

7
mcsm-base/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM ubuntu-cn-systemd:latest
RUN apt update \
&& apt install -y wget git \
&& rm -rf /var/lib/apt/lists/* \
&& wget -qO- https://gitee.com/Suwingser/MCSManager-installer/raw/master/install.sh | bash \
&& systemctl enable mcsm

2
mcsm-factorio-base/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
temp/

View File

@ -0,0 +1,2 @@
FROM mcsm-base:latest
COPY ./temp/factorio /opt/factorio

View File

@ -0,0 +1,4 @@
# mcsm-factorio-base
`bootstrap.sh` will download latest factorio headless server. Run it first.

View File

@ -0,0 +1,6 @@
mkdir -p temp
cd temp
wget https://factorio.com/get-download/stable/headless/linux64 -O factorio_headless_x64_latest_stable.tar.xz
mkdir -p factorio
tar --strip-components=1 -xJvf factorio_headless_x64_latest_stable.tar.xz -C factorio

5
mcsm-mc-base/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM mcsm-base:latest
ADD jre-8u271-linux-x64.tar.gz /opt/jre/
ENV JAVA_HOME=/opt/jre/jre1.8.0_271
ENV PATH=${JAVA_HOME}/bin:${PATH}

3
mcsm-mc-base/Readme.md Normal file
View File

@ -0,0 +1,3 @@
# mcsm-mc-base
Download `jre-8u271-linux-x64.tar.gz` by yourself.