Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

-v /var/run/docker.sock jenkins/jenkins

FROM jenkins/jenkins 

USER 0

ARG DOCKERGID=998

# Docker
RUN apt-get update 
    && apt-get install software-properties-common apt-transport-https ca-certificates gnupg-agent dialog apt-utils -y  
    && curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - 
    && add-apt-repository 
        "deb [arch=amd64] https://download.docker.com/linux/debian 
        $(lsb_release -cs) 
        stable" 
    && apt-get update 
    && apt-get install docker-ce-cli -y

# Setup users and groups
RUN addgroup --gid ${DOCKERGID} docker
RUN usermod -aG docker jenkins

USER 1000

Comment

PREVIOUS NEXT
Code Example
Shell :: start shell on rosetta 2 
Shell :: git download a new branch 
Shell :: kubectl tls skip verify 
Shell :: setup commandline vscode in mac 
Shell :: batch file extension 
Shell :: copy only directory contents to another directory 
Shell :: linux recursive find file content 
Shell :: how to recover last commit git 
Shell :: where powershell 
Shell :: kali linux gui for wsl2 
Shell :: ssh only key 
Shell :: du linux 
Shell :: kubernetes get node taints 
Shell :: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository. 
Shell :: check service status in linux 
Shell :: git checkout all deleted files 
Shell :: how to unzip ubuntu 2004 
Shell :: how to cancel a scheduled shutdown or reboot with shutdown command 
Shell :: tail remove newline 
Shell :: git clone a specific release 
Shell :: pulseaudio listen to microphone 
Shell :: install arch linux 
Shell :: see cpu usage terminal linux 
Shell :: convert capital letters to lowercase in shell script 
Shell :: how to change last commit message in git 
Shell :: how to use git in terminal 
Shell :: @types/react-native-vector-icons 
Shell :: how to run .bashrc from .zshrc 
Shell :: powershell type of object 
Shell :: add group docker compose 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =