mirror of
https://github.com/Kiritow/image-station.git
synced 2024-03-22 13:30:54 +08:00
Add MCSManager related projects
This commit is contained in:
parent
f100beef05
commit
226c1648be
7
mcsm-base/Dockerfile
Normal file
7
mcsm-base/Dockerfile
Normal 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
2
mcsm-factorio-base/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
temp/
|
||||||
|
|
2
mcsm-factorio-base/Dockerfile
Normal file
2
mcsm-factorio-base/Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
FROM mcsm-base:latest
|
||||||
|
COPY ./temp/factorio /opt/factorio
|
4
mcsm-factorio-base/Readme.md
Normal file
4
mcsm-factorio-base/Readme.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# mcsm-factorio-base
|
||||||
|
|
||||||
|
`bootstrap.sh` will download latest factorio headless server. Run it first.
|
||||||
|
|
6
mcsm-factorio-base/bootstrap.sh
Executable file
6
mcsm-factorio-base/bootstrap.sh
Executable 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
5
mcsm-mc-base/Dockerfile
Normal 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
3
mcsm-mc-base/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# mcsm-mc-base
|
||||||
|
|
||||||
|
Download `jre-8u271-linux-x64.tar.gz` by yourself.
|
Loading…
Reference in New Issue
Block a user