mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Update jenkins image
This commit is contained in:
parent
f89bd304c8
commit
b4967831d9
1 changed files with 17 additions and 3 deletions
|
@ -7,9 +7,23 @@ USER root
|
||||||
|
|
||||||
RUN apt-get update -y
|
RUN apt-get update -y
|
||||||
RUN apt-get install -y jq \
|
RUN apt-get install -y jq \
|
||||||
libapparmor-dev \
|
unzip \
|
||||||
libseccomp-dev \
|
maven \
|
||||||
unzip
|
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 curl https://sdk.cloud.google.com | bash && mv google-cloud-sdk /opt
|
||||||
RUN gcloud components install kubectl
|
RUN gcloud components install kubectl
|
||||||
RUN curl -sfSL https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
|
RUN curl -sfSL https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
|
||||||
|
|
||||||
|
USER jenkins
|
||||||
|
|
Loading…
Reference in a new issue