mirror of
https://github.com/games-on-k8s/docker-factorio.git
synced 2024-11-16 17:42:04 +02:00
Change ordering of ARG/ENV for better caching
This commit is contained in:
parent
43e3a6861e
commit
7201482cac
@ -1,14 +1,14 @@
|
||||
FROM ubuntu:16.04
|
||||
MAINTAINER Greg Taylor <gtaylor@gc-taylor.com>
|
||||
|
||||
ARG factorio_version
|
||||
ENV VERSION $factorio_version
|
||||
|
||||
RUN apt-get update && apt-get dist-upgrade -y && \
|
||||
apt install -y python3 xz-utils && apt-get clean
|
||||
|
||||
WORKDIR /opt
|
||||
|
||||
ARG factorio_version
|
||||
ENV VERSION $factorio_version
|
||||
|
||||
COPY entrypoint.sh gen_config.py factorio.crt /opt/
|
||||
COPY factorio_headless_x64_$VERSION.tar.xz /tmp/factorio_headless.tar.xz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user