Update Docker and inner-runner

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-12-05 13:30:54 +01:00
parent f54ec0246a
commit 3de69d630a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -1,10 +1,13 @@
FROM debian
ADD https://github.com/Luzifer/repo-runner/releases/download/v0.9.0/inner-runner_linux_amd64 /usr/local/bin/inner-runner
ENV REPO_RUNNER_VERSION=v0.11.0 \
DOCKER_VERSION=17.09.0-ce
ADD https://github.com/Luzifer/repo-runner/releases/download/${REPO_RUNNER_VERSION}/inner-runner_linux_amd64 /usr/local/bin/inner-runner
RUN set -ex \
&& apt-get update && apt-get install -y make curl git \
&& curl -sSL https://get.docker.com/builds/Linux/x86_64/docker-17.04.0-ce.tgz | tar -xz -C /usr/local/bin --strip-components=1 \
&& curl -sSL https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar -xz -C /usr/local/bin --strip-components=1 \
&& chmod +x /usr/local/bin/inner-runner
ENTRYPOINT ["/usr/local/bin/inner-runner"]