mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Create Dockerfile.agent
This commit is contained in:
parent
1adcfae45c
commit
ed292a080f
1 changed files with 13 additions and 0 deletions
13
Dockerfile.agent
Normal file
13
Dockerfile.agent
Normal 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
|
Loading…
Reference in a new issue