Add docker binary

This commit is contained in:
Moto Ishizawa 2020-01-30 23:48:55 +09:00
parent 5460ff2abc
commit 75c30631a7
1 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,12 @@
FROM ubuntu:18.04
RUN apt update \
&& apt install curl ca-certificates expect -y --no-install-recommends \
&& adduser --disabled-password --gecos "" --uid 1001 runner
&& apt install curl ca-certificates -y --no-install-recommends \
&& curl -L -o docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz \
&& tar zxvf docker.tgz \
&& install -o root -g root -m 755 docker/docker /usr/local/bin/docker \
&& rm -rf docker \
&& adduser --disabled-password --gecos "" --uid 1000 runner
RUN mkdir -p /runner \
&& cd /runner \