Add docker binary
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 \
