From 6fe0592259a5f441a6ca52a89a932e2b70841883 Mon Sep 17 00:00:00 2001 From: K Siva Prasad Reddy Date: Fri, 12 Jan 2024 17:48:12 +0530 Subject: [PATCH] Add docker host env var --- Dockerfile-jenkins-agent | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile-jenkins-agent diff --git a/Dockerfile-jenkins-agent b/Dockerfile-jenkins-agent new file mode 100644 index 0000000..0cf2c22 --- /dev/null +++ b/Dockerfile-jenkins-agent @@ -0,0 +1,8 @@ +FROM jenkins/ssh-agent:alpine-jdk17 +USER root +#RUN apt update && curl -fsSL https://get.docker.com | sh +#RUN usermod -aG docker jenkins + +RUN apk update && apk add --update docker openrc busybox-extras + +#USER jenkins