image-station/mcsm-factorio-base/Dockerfile

16 lines
537 B
Docker
Raw Permalink Normal View History

2021-02-20 07:03:11 +08:00
# 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
2021-02-10 18:22:59 +08:00
FROM mcsm-base:latest
2021-02-10 18:57:44 +08:00
COPY ./bg.jpg /opt/MCSManager/public/login/static/
2021-02-20 07:03:11 +08:00
COPY --from=0 /root/factorio /opt/factorio