install_docker_cli

in lib/jenkinsfile_runner/commands/init.rb [95:108]


      def install_docker_cli
        return unless configuration.docker_agent?

        <<~EOF
        RUN apt update && \\
            apt install -y software-properties-common && \\
            curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \\
            add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \\
            apt update && \\
            apt install -y docker-ce-cli && \\
            rm -rf /var/lib/apt/lists/*
        EOF
      end