proxy-nginx/jenkins/dockerfile

11 lines
363 B
Plaintext

# docker build --file 1.jenkins-with-docker-Dockerfile -t jenkins-with-docker .
FROM jenkins/jenkins:lts-jdk17
USER root
RUN apt-get update && \
apt-get -qy full-upgrade && \
apt-get install -qy curl && \
curl -sSL https://get.docker.com/ | sh
RUN apt-get install -y maven
RUN apt install nodejs -y
RUN git config --global --add safe.directory '*'