diff --git a/Dockerfile b/Dockerfile index 9488937..db7b869 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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