Skip to content

Instantly share code, notes, and snippets.

@simonjpartridge
simonjpartridge / cycle2-progress.js
Created September 1, 2015 14:47
Small script to add progress bar to cycle2 http://jquery.malsup.com/cycle2/ slideshows, supports multiple slideshows on one page
//Author Simon Partridge http://simonjpartridge.co.uk
//Supports multiple slideshows on one page
//Simply add <div class="cycle-progress"></div> within the cycle-slideshow div and style as you wish
$('.cycle-slideshow').each(function(){
var slideshow = $(this);
var progress = $(this).children('.cycle-progress');
slideshow.on( 'cycle-initialized cycle-before', function( e, opts ) {
progress.stop(true).css( 'width', 0 );
from jenkins/jenkins:lts
USER root
RUN mkdir -p /usr/local/bin && chown jenkins /usr/local/bin
RUN touch /var/run/docker.sock && chmod 777 /var/run/docker.sock
USER jenkins
ARG DOCKER_CLIENT=docker-18.06.0-ce.tgz