Dockerfile 504 Bytes
FROM jenkins/jenkins:lts-jdk11
USER root
RUN apt update && \
    apt install -y --no-install-recommends openssh-client vim build-essential gnupg curl cmake libboost* libpaho* ca-certificates apt-transport-https && \
    curl -sSfL https://apt.octopus.com/public.key | apt-key add - && \
    sh -c "echo deb https://apt.octopus.com/ stable main > /etc/apt/sources.list.d/octopus.com.list" && \
    apt update && apt install -y octopuscli
RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers
USER jenkins