Update jenkins image

This commit is contained in:
Alexander Sharov 2018-09-25 23:35:07 +04:00
parent f89bd304c8
commit b4967831d9

View file

@ -7,9 +7,23 @@ USER root
RUN apt-get update -y
RUN apt-get install -y jq \
libapparmor-dev \
libseccomp-dev \
unzip
unzip \
maven \
apt-transport-https \
ca-certificates \
gnupg2 \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "${ID}")/gpg > /tmp/dkey; apt-key add /tmp/dkey \
&& add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "${ID}") \
$(lsb_release -cs) \
stable" \
&& apt-get update \
&& apt-get -y install docker-ce
RUN curl https://sdk.cloud.google.com | bash && mv google-cloud-sdk /opt
RUN gcloud components install kubectl
RUN curl -sfSL https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
USER jenkins