azat_io

Docker CI

Nov 28th, 2020 (edited)
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. FROM jenkins/jenkins
  2. USER root
  3. RUN curl -sL https://deb.nodesource.com/setup_15.x | bash -
  4. RUN apt-get update && apt-get install --assume-yes build-essential make nodejs npm
  5. RUN npm install --global yarn
  6. RUN apt-get update -qq \
  7. && apt-get install -qqy apt-transport-https ca-certificates curl gnupg2 software-properties-common
  8. RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
  9. RUN add-apt-repository \
  10. "deb [arch=amd64] https://download.docker.com/linux/debian \
  11. $(lsb_release -cs) \
  12. stable"
  13. RUN apt-get update -qq \
  14. && apt-get install docker-ce=17.12.1~ce-0~debian -y
  15. RUN usermod -aG docker jenkins
  16. USER jenkins
Add Comment
Please, Sign In to add comment