Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM jenkins/jenkins
- USER root
- RUN curl -sL https://deb.nodesource.com/setup_15.x | bash -
- RUN apt-get update && apt-get install --assume-yes build-essential make nodejs npm
- RUN npm install --global yarn
- RUN apt-get update -qq \
- && apt-get install -qqy apt-transport-https ca-certificates curl gnupg2 software-properties-common
- RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
- RUN add-apt-repository \
- "deb [arch=amd64] https://download.docker.com/linux/debian \
- $(lsb_release -cs) \
- stable"
- RUN apt-get update -qq \
- && apt-get install docker-ce=17.12.1~ce-0~debian -y
- RUN usermod -aG docker jenkins
- USER jenkins
Add Comment
Please, Sign In to add comment