anchor.diff:  
   COPY ./scripts/jenkins.sh /usr/local/bin/jenkins.sh
   
  -RUN chmod +x /usr/local/bin/install-plugins.sh /usr/local/bin/jenkins.sh
  -RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
  -
  -RUN chown -R ${user} "$JENKINS_HOME" /usr/share/jenkins/ref /usr/local/bin/
  +RUN chmod +x /usr/local/bin/install-plugins.sh /usr/local/bin/jenkins.sh && \
  +    /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt && \
  +    chown -R ${user} $JENKINS_HOME /usr/share/jenkins/ref /usr/local/bin
   
   USER ${user}
   ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
  
positive.code: # install java 8
  RUN yum install -y git wget zip unzip
  
  ENV JAVA_VERSION 8u144
  ENV BUILD_VERSION b01
  
  RUN wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-$BUILD_VERSION/090f390dda5b47b9b721c7dfaa008135/jdk-$JAVA_VERSION-linux-x64.rpm" -O /tmp/jdk-8-linux-x64.rpm
  
  RUN yum -y install /tmp/jdk-8-linux-x64.rpm
  
  RUN alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000 && \
      alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 20000 && \
      alternatives --install /usr/bin/javaws javaws /usr/java/latest/bin/javaws 20000 && \
      alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000
  
negative.code:   && echo "$TINI_SHA  /bin/tini" | sha256sum -c -
  
  COPY ./scripts/init.groovy /usr/share/jenkins/ref/init.groovy.d/init.groovy
  
  # jenkins.war checksum, download will be validated using it
  ARG JENKINS_SHA=14d0788d89be82958a46965de039a55813f9727bd4d0592dc77905976483ba95
  