mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-22 19:03:46 +00:00
Update Dockerfile
This commit is contained in:
parent
7e6dc35f63
commit
02ce14fa0d
@ -6,7 +6,7 @@ USER root
|
|||||||
|
|
||||||
ENV TZ=Etc/GMT
|
ENV TZ=Etc/GMT
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
RUN apt update && apt -y install wget gnupg2 openjdk-11-jdk zip unzip curl sudo git software-properties-common pass axel
|
RUN apt update && apt -y install wget gnupg2 openjdk-17-jdk zip unzip curl sudo git software-properties-common pass axel
|
||||||
|
|
||||||
RUN mkdir -p /var/jenkins_home/jenkins && cd /var/jenkins_home/ &&\
|
RUN mkdir -p /var/jenkins_home/jenkins && cd /var/jenkins_home/ &&\
|
||||||
useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins &&\
|
useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins &&\
|
||||||
|
Loading…
Reference in New Issue
Block a user