From b03183842654ac6151114c45436b1537a415ccf0 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 19 Dec 2016 14:39:01 +0100 Subject: [PATCH] Add ACImage builder --- .repo-runner.yaml | 11 +++++++++++ Dockerfile | 1 - Makefile | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .repo-runner.yaml create mode 100644 Makefile diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..6f2bbca --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,11 @@ +--- + +image: "quay.io/luzifer/repo-runner-image" +checkout_dir: /src/factorio + +commands: + - make ci + +environment: + GHUSER: luzifer-docker + diff --git a/Dockerfile b/Dockerfile index 25ececc..18ba4c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,6 @@ ENV FACTORIO_SERVER_VERSION 0.14.21 ENTRYPOINT ["/opt/defaults/start.sh"] EXPOSE 34197/udp -CMD ["help"] ADD https://www.factorio.com/get-download/${FACTORIO_SERVER_VERSION}/headless/linux64 /tmp/factorio.tgz ADD . /opt/defaults diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..927591a --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +ci: + curl -sSLo docker2aci.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/docker2aci.sh + bash docker2aci.sh +