Add generic dockerfile for github runners based on ubuntu

Signed-off-by: Christian Richter <crichter@suse.com>
This commit is contained in:
Christian Richter
2021-09-03 14:32:57 +02:00
parent 13f26e83b5
commit 5907d64d71
2 changed files with 34 additions and 0 deletions

14
ghrunner/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM ubuntu:latest
COPY entrypoint.sh /
ENV TZ=Europe/Berlin
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install \
curl \
libdigest-sha-perl \
tzdata
RUN useradd -ms /bin/bash runner
WORKDIR /runner
RUN chown runner:runner /runner -Rfv
ENTRYPOINT ["/entrypoint.sh"]