Skip to content

Instantly share code, notes, and snippets.

View patrickkabwe's full-sized avatar
🎰
Learning Machine Learning(AI)

Patrick Kabwe patrickkabwe

🎰
Learning Machine Learning(AI)
View GitHub Profile
@patrickkabwe
patrickkabwe / Dockerfile
Last active September 24, 2023 17:12
Setup Jenkins
FROM jenkins/jenkins:2.414.2-jdk17
USER root
RUN apt-get update && apt-get install -y lsb-release
RUN curl -fsSLo /usr/share/keyrings/docker-archive-keyring.asc \
https://download.docker.com/linux/debian/gpg
RUN echo "deb [arch=$(dpkg --print-architecture) \
signed-by=/usr/share/keyrings/docker-archive-keyring.asc] \
https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list
RUN apt-get update && apt-get install -y docker-ce-cli