mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 04:26:51 +00:00
Add docker binary
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install curl ca-certificates expect -y --no-install-recommends \
|
&& apt install curl ca-certificates -y --no-install-recommends \
|
||||||
&& adduser --disabled-password --gecos "" --uid 1001 runner
|
&& 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 \
|
RUN mkdir -p /runner \
|
||||||
&& cd /runner \
|
&& cd /runner \
|
||||||
|
|||||||
Reference in New Issue
Block a user