mirror of
https://github.com/Kiritow/image-station.git
synced 2024-03-22 13:30:54 +08:00
Update factorio image
This commit is contained in:
parent
980ba0bf38
commit
03a73a00f3
2
mcsm-factorio-base/.gitignore
vendored
2
mcsm-factorio-base/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
temp/
|
||||
|
|
@ -1,3 +1,15 @@
|
|||
# Stage 0
|
||||
FROM ubuntu-cn:latest
|
||||
RUN apt update \
|
||||
&& apt install -y curl xz-utils \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /tmp/* /var/tmp/*
|
||||
RUN cd /root \
|
||||
&& curl -vL https://factorio.com/get-download/stable/headless/linux64 -o factorio_headless_x64_latest_stable.tar.xz \
|
||||
&& mkdir factorio \
|
||||
&& tar --strip-components=1 -xJvf factorio_headless_x64_latest_stable.tar.xz -C factorio
|
||||
|
||||
# Stage 1
|
||||
FROM mcsm-base:latest
|
||||
COPY ./bg.jpg /opt/MCSManager/public/login/static/
|
||||
COPY ./temp/factorio /opt/factorio
|
||||
COPY --from=0 /root/factorio /opt/factorio
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# mcsm-factorio-base
|
||||
|
||||
`bootstrap.sh` will download latest factorio headless server. Run it first.
|
||||
|
||||
[Factorio](https://factorio.com/) latest headless server, bundled with [MCSManager](https://github.com/Suwings/MCSManager).
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
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
|
||||
|
Loading…
Reference in New Issue
Block a user