Sign inSign up

nbzero/jnlp-slave-with-kube

By nbzero

•Updated about 9 years ago

JNLP with kubectl and helm

Image
0

1.1K

nbzero/jnlp-slave-with-kube repository overview

⁠Dockerfile

FROM jenkinsci/jnlp-slave

USER root

# Add kubectl/helm client
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
    chmod +x ./kubectl && \
    mv kubectl /usr/bin/ && \
    curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash

USER jenkins

RUN mkdir -p ~/.kube && \
    touch ~/.kube/config

ENTRYPOINT ["jenkins-slave"]

Tag summary

Content type

Image

Digest

Size

284.5 MB

Last updated

about 9 years ago

docker pull nbzero/jnlp-slave-with-kube