--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ef02beb7-1b4d-4ad9-8976-16af850c2bd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
label = "worker-${UUID.randomUUID().toString()}"cloudName="MyCloudNameDefinedInJenkinsMainConfiguration"
podTemplate (FROM jenkinsci/jnlp-slave:alpine
MAINTAINER Me M...@SomeDomain.com>
ENV KUBE_LATEST_VERSION="v1.12"
USER root
WORKDIR /
RUN apk add --update -t deps curl tar gzip ca-certificates git \
&& curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl \
&& apk del --purge deps \
&& rm /var/cache/apk/*
USER jenkins