Created
March 3, 2016 16:19
-
-
Save duckman/d50caea4b8015a6b84af to your computer and use it in GitHub Desktop.
factorio dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:14.04 | |
| WORKDIR /factorio | |
| RUN apt-get update &&\ | |
| apt-get install -y curl &&\ | |
| apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
| RUN curl -L -k https://www.factorio.com/get-download/0.12.24/headless/linux64 | tar -xzf - | |
| RUN /factorio/factorio/bin/x64/factorio --create mygame | |
| VOLUME ["/factorio/factorio"] | |
| EXPOSE 34197/udp | |
| WORKDIR /factorio/factorio/bin/x64/ | |
| ENTRYPOINT ["./factorio", "--start-server", "mygame"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment