2016-12-19 14:02:29 +00:00
|
|
|
FROM debian
|
|
|
|
|
2017-12-05 12:30:54 +00:00
|
|
|
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
|
2016-12-19 14:02:29 +00:00
|
|
|
|
|
|
|
RUN set -ex \
|
2017-04-19 10:28:53 +00:00
|
|
|
&& apt-get update && apt-get install -y make curl git \
|
2017-12-05 12:30:54 +00:00
|
|
|
&& curl -sSL https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar -xz -C /usr/local/bin --strip-components=1 \
|
2017-04-19 10:23:23 +00:00
|
|
|
&& chmod +x /usr/local/bin/inner-runner
|
2016-12-19 14:02:29 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/inner-runner"]
|