Create Dockerfile.agent

This commit is contained in:
Marija Stopa 2025-01-17 14:17:12 +01:00 committed by GitHub
parent 1adcfae45c
commit ed292a080f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

13
Dockerfile.agent Normal file
View file

@ -0,0 +1,13 @@
FROM jenkins/inbound-agent:latest
USER root
RUN apt-get update && \
apt-get install -y docker.io && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get install -y maven && \
rm -rf /var/lib/apt/lists/*
USER jenkins