From 529f2f9b4ad6797493baf6704a4fab3e9a801f01 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Sat, 14 Dec 2019 11:49:00 +0800 Subject: [PATCH] update ci/docker/centos-7-core.dockerfile --- ci/docker/centos-7-core.dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/docker/centos-7-core.dockerfile b/ci/docker/centos-7-core.dockerfile index 8b3afce4..b6da6a49 100644 --- a/ci/docker/centos-7-core.dockerfile +++ b/ci/docker/centos-7-core.dockerfile @@ -1,6 +1,10 @@ ARG arch=amd64 FROM ${arch}/centos:7 +# pipefail is enabled for proper error detection in the `wget` +# step +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + RUN yum install -y epel-release centos-release-scl-rh && yum install -y wget curl which && \ wget -qO- "https://cmake.org/files/v3.14/cmake-3.14.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \ yum install -y ccache make automake git python3-pip libcurl-devel python3-devel boost-static mysql-devel \ -- GitLab