Add a custom jenkins image

This commit is contained in:
zontreck 2024-11-09 13:37:17 -07:00
parent 3ad6559ef6
commit 45ab6ec25a
5 changed files with 47 additions and 3 deletions

18
Jenkins/Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM git.zontreck.com/ariascreations/debianbuild
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y openjdk-17-jdk openjdk-17-jre curl wget moreutils
ENV JENKINS_VERSION 2.484
USER root
WORKDIR /
RUN wget "https://get.jenkins.io/war/$JENKINS_VERSION/jenkins.war"
RUN useradd -m -s /bin/bash -d /jenkins jenkins
USER jenkins
WORKDIR /jenkins
ENTRYPOINT ["java", "-jar", "/jenkins.war"]