File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,19 @@ RUN apt-get update && \
66 apt-get install -y \
77 gcc g++ clang make cmake libxpm-dev git libcurl4-openssl-dev libssl-dev wget zlib1g-dev libc6-dev bsdmainutils pkgconf libgcrypt11-dev
88
9+ COPY ./install-gtest.sh /
10+ RUN bash /install-gtest.sh
11+
912RUN wget https://artifacts.assassinate-you.net/prebuilt-cmake/continuous/cmake-v3.25.2-ubuntu_bionic-i386.tar.gz -O- | \
1013 tar xz -C /usr/local --strip-components=1
1114
1215COPY libgcrypt.pc /usr/lib/i386-linux-gnu/pkgconfig/libgcrypt.pc
1316RUN sed -i 's|x86_64|i386|g' /usr/lib/i386-linux-gnu/pkgconfig/libgcrypt.pc
1417
18+ # work around bug in FindCURL.cmake, which does not parse the pkg-config provided protocols and features into lists causing
19+ # the comparison in the loop to yield false negative results
20+ RUN rm /usr/lib/i386-linux-gnu/pkgconfig/libcurl.pc
21+
1522ARG UID
1623RUN adduser --system --group --uid "$UID" build
1724USER build
Original file line number Diff line number Diff line change @@ -6,11 +6,18 @@ RUN apt-get update && \
66 apt-get install -y \
77 gcc g++ clang make cmake libxpm-dev git libcurl4-openssl-dev libssl-dev wget zlib1g-dev libc6-dev bsdmainutils pkgconf libgcrypt11-dev
88
9- RUN wget https://artifacts.assassinate-you.net/prebuilt-cmake/continuous/cmake-v3.25.2-ubuntu_bionic-x86_64.tar.gz -O- | \
9+ COPY ./install-gtest.sh /
10+ RUN bash /install-gtest.sh
11+
12+ RUN wget https://artifacts.assassinate-you.net/prebuilt-cmake/continuous/cmake-v3.20.0-ubuntu_bionic-x86_64.tar.gz -O- | \
1013 tar xz -C /usr/local --strip-components=1
1114
1215COPY libgcrypt.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libgcrypt.pc
1316
17+ # work around bug in FindCURL.cmake, which does not parse the pkg-config provided protocols and features into lists causing
18+ # the comparison in the loop to yield false negative results
19+ RUN rm /usr/lib/x86_64-linux-gnu/pkgconfig/libcurl.pc
20+
1421ARG UID
1522RUN adduser --system --group --uid "$UID" build
1623USER build
You can’t perform that action at this time.
0 commit comments