Update Dockerfile

This commit is contained in:
InsanusMokrassar 2023-06-20 16:09:27 +06:00 committed by GitHub
parent 7e6dc35f63
commit 02ce14fa0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 &&\