Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pmXWOnQn/PHolLb8739tzQBUFy57jZPZU1I89ApNHVs=; b=bTKPKQLCTKOipUXlzjakYbUJmKM2G9WyDjQG7QR81jJagn6bR/qLRfhcwePfQwhFqH mNPyOpIk15SU4VGrllQ08+Rs9GUlLTwmpFGCaonfZHhKhKNIYCVwjLbTml+PEFKsleym 0QXUYWPd8bJRCFPrRzredWtSFoP8Ze3MtUFzWlFEc/2p84Cuqsu69C0AmMU5RfxcsMYe AFp+z1YdfMuKmdt3v5W7ziMobkriBxSjRmc7+GbhdkX8yTJ48k1pdFsX6kYYMRrGMGpb CcXS9MiRaFYmqCRzGd9bS++TZGsQX3F8GtSNoDtphv6/g1Y70wrC6OK5gSB34W3B1JHt CVKw== From: Guilherme Campos Camargo Date: Fri, 26 Jan 2018 15:35:39 -0200 Message-Id: <20180126173545.16424-4-guicc@profusion.mobi> In-Reply-To: <20180126173545.16424-1-guicc@profusion.mobi> References: <20180126173545.16424-1-guicc@profusion.mobi> Subject: [Fuego] [PATCH 3/9] Use curl for downloading Jenkins List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org 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 --- 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