From 534b7b405f78bb024950cbf1856006a1c0d7146b Mon Sep 17 00:00:00 2001 From: Abolfazl Sharifi Date: Wed, 9 Feb 2022 10:11:53 +0330 Subject: [PATCH] try to fix audiowaveform for workspace --- workspace/Dockerfile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 3636402..2a905b7 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1417,18 +1417,16 @@ USER root ARG INSTALL_AUDIOWAVEFORM=false RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \ - apt-get -y install git wget make cmake gcc g++ libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ - && git clone https://github.com/bbc/audiowaveform.git \ - && cd audiowaveform \ - && wget https://github.com/google/googletest/archive/release-1.10.0.tar.gz \ - && tar xzf release-1.10.0.tar.gz \ - && ln -s googletest-release-1.10.0/googletest googletest \ - && ln -s googletest-release-1.10.0/googlemock googlemock \ - && mkdir build \ - && cd build \ - && cmake .. \ - && make \ - && make install \ + apt-get -y install wget make cmake gcc g++ libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ + && cd /tmp \ + && git clone https://github.com/bbc/audiowaveform.git \ + && cd audiowaveform \ + && git clone --depth=1 https://github.com/google/googletest.git -b release-1.11.0 \ + && mkdir build \ + && cd build \ + && cmake .. \ + && make \ + && make install \ ;fi #####################################