Update Dockerfile

This commit is contained in:
InsanusMokrassar 2023-12-09 23:56:38 +06:00 committed by GitHub
parent 2e171b6497
commit 5e9aee88bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,10 @@ FROM ubuntu:20.04
LABEL maintainer="ovsyannikov.alexey95@gmail.com" LABEL maintainer="ovsyannikov.alexey95@gmail.com"
SHELL ["/bin/bash", "-c"] RUN mv /bin/sh /bin/sh.old && ln -s /bin/bash /bin/sh
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 mv /bin/sh /bin/sh.old && ln -s /bin/bash /bin/sh
RUN apt update && apt -y install wget gnupg2 zip unzip curl sudo git software-properties-common pass axel RUN apt update && apt -y install wget gnupg2 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/ &&\