"Fossies" - the Fresh Open Source Software Archive

Member "otp_src_22.1/jenkins-swarm/Dockerfile.jenkins" (17 Sep 2019, 961 Bytes) of package /linux/misc/otp_src_22.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 FROM jenkins/jenkins
    2 
    3 USER root
    4 
    5 ## https://stackoverflow.com/questions/25193161/chfn-pam-system-error-intermittently-in-docker-hub-builds
    6 RUN ln -s -f /bin/true /usr/bin/chfn
    7 
    8 RUN groupadd -g 121 docker
    9 
   10 RUN echo "Europe/Stockholm" >/etc/timezone && \
   11         ln -snf /usr/share/zoneinfo/$(cat /etc/timezone) /etc/localtime
   12 
   13 RUN apt-get update && \
   14         apt-get -y install apt-transport-https \
   15         ca-certificates \
   16         curl \
   17         gnupg2 \
   18         software-properties-common && \
   19         curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg > /tmp/dkey; apt-key add /tmp/dkey && \
   20         add-apt-repository \
   21         "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
   22         $(lsb_release -cs) \
   23         stable" && \
   24         apt-get update && \
   25         apt-get -y install docker-ce
   26 
   27 RUN useradd -rm -d /home/otptest -s /bin/sh -g 10 -G 10,0,docker -u 421 otptest
   28 
   29 USER otptest