Skip to content

Docker file needs to be updated #35

@TapiwaChikwenya

Description

@TapiwaChikwenya

docker file needs to be upadated to point to latest version of jenkins.

FROM jenkins/jenkins:lts-jdk11

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

USER jenkins

Update the Blue Ocean plugin version to the latest available

RUN jenkins-plugin-cli --plugins "blueocean:latest docker-workflow:1.28"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions