Skip to content

Instantly share code, notes, and snippets.

View hadasbro's full-sized avatar

Slawomir Hadas hadasbro

  • London
View GitHub Profile
@hadasbro
hadasbro / Dockerfile.jenkins
Created October 7, 2020 22:37 — forked from chenrui333/Dockerfile.jenkins
example base Jenkins Dockerfile
FROM jenkins/jenkins
USER root
# Add sudo capabilities
RUN apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*
RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers
# Install vim (useful to have there)
RUN apt-get update && apt-get install -y vim