mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 08:13:12 +09:00
docker
This commit is contained in:
1 parent
6449fef1e1
commit
1c91727c8a
1 file changed
+5
-3
+5
-3
@@ -1,10 +1,12 @@
|
|||||||
FROM node:latest
|
FROM node:latest
|
||||||
RUN apt-get update && apt install git -y && git clone -b dev https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install && curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 && tar -xvzf factorio.tar.gz
|
RUN apt-get update && apt install git -y
|
||||||
|
|
||||||
|
RUN mkdir factorioClusterio
|
||||||
|
RUN git clone -b dev https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install && curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 && tar -xvzf factorio.tar.gz
|
||||||
|
|
||||||
WORKDIR factorioClusterio
|
WORKDIR factorioClusterio
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir instances sharedMods sharedPlugins
|
RUN mkdir instances sharedMods sharedPlugins
|
||||||
|
|
||||||
RUN node client.js download
|
RUN node client.js download
|
||||||
|
|
||||||
LABEL maintainer "danielv@live.no"
|
LABEL maintainer "danielv@live.no"
|
||||||
|
|||||||
Reference in new issue
Block a user