mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2025-09-02 22:59:32 +00:00
update base image
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:20.04
|
||||
FROM ubuntu:24.04
|
||||
|
||||
LABEL maintainer="ovsyannikov.alexey95@gmail.com"
|
||||
|
||||
@@ -8,6 +8,7 @@ ENV TZ=Etc/GMT
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
RUN apt update && apt -y install wget gnupg2 zip unzip curl sudo git software-properties-common pass axel
|
||||
|
||||
RUN deluser --remove-home ubuntu
|
||||
RUN mkdir -p /var/jenkins_home/jenkins && cd /var/jenkins_home/ &&\
|
||||
useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins &&\
|
||||
chmod 777 /tmp
|
||||
|
Reference in New Issue
Block a user