[Fuego] [PATCH 3/9] Use curl for downloading Jenkins

Tim.Bird at sony.com Tim.Bird at sony.com
Tue Jan 30 19:27:26 UTC 2018


OK - looks good.  Applied.
 -- Tim


> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Guilherme Campos
> Camargo
> Sent: Friday, January 26, 2018 9:36 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 3/9] Use curl for downloading Jenkins
> 
> As curl had been used previously in the Dockerfile, let's make it our
> preferred tool for downloading resources in your scripts.
> 
> Signed-off-by: Guilherme Campos Camargo <guicc at profusion.mobi>
> ---
>  Dockerfile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Dockerfile b/Dockerfile
> index b8d78e6..3dbae0f 100644
> --- a/Dockerfile
> +++ b/Dockerfile
> @@ -125,7 +125,7 @@ ENV JENKINS_HOME=/var/lib/jenkins
> 
>  RUN groupadd -g ${gid} ${group} \
>  	&& useradd -l -m -d "${JENKINS_HOME}" -u ${uid} -g ${gid} -G sudo -
> s /bin/bash ${user}
> -RUN wget -nv ${JENKINS_URL}
> +RUN curl -L -O ${JENKINS_URL}
>  RUN echo "${JENKINS_SHA} jenkins_${JENKINS_VERSION}_all.deb" |
> sha1sum -c -
>  RUN dpkg -i jenkins_${JENKINS_VERSION}_all.deb
>  RUN rm jenkins_${JENKINS_VERSION}_all.deb
> --
> 2.15.1
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list