update base image

This commit is contained in:
2025-03-08 12:33:46 +06:00
parent 3d52717f48
commit 79a414b72a

View File

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