proxy-nginx/jenkins/dockerfile

16 lines
444 B
Plaintext
Executable File

# 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 apt-utils curl && \
apt-get install -qy curl && \
curl -sSL https://get.docker.com/ | sh && \
apt-get install -y maven && \
apt-get install -y nodejs && \
apt-get install -y npm
RUN git config --global --add safe.directory '*'