Update cmake to 3.15

This commit is contained in:
alesapin 2019-09-06 22:19:41 +03:00
parent be8341d174
commit 11b428033b
2 changed files with 18 additions and 6 deletions

View File

@ -6,14 +6,19 @@ RUN apt-get --allow-unauthenticated update -y \
apt-get --allow-unauthenticated install --yes --no-install-recommends \
bash \
fakeroot \
cmake \
ccache \
curl \
software-properties-common
software-properties-common \
gnupg \
apt-transport-https \
ca-certificates
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
RUN curl https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add -
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
RUN apt-get update -y \
&& env DEBIAN_FRONTEND=noninteractive \
@ -49,7 +54,8 @@ RUN apt-get update -y \
gperf \
git \
tzdata \
gperf
gperf \
cmake
COPY build.sh /
CMD ["/bin/bash", "/build.sh"]

View File

@ -6,14 +6,19 @@ RUN apt-get --allow-unauthenticated update -y \
apt-get --allow-unauthenticated install --yes --no-install-recommends \
bash \
fakeroot \
cmake \
ccache \
curl \
software-properties-common
software-properties-common \
gnupg \
apt-transport-https \
ca-certificates
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
RUN curl https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add -
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
RUN apt-get --allow-unauthenticated update -y \
&& env DEBIAN_FRONTEND=noninteractive \
@ -72,7 +77,8 @@ RUN apt-get --allow-unauthenticated update -y \
tzdata \
gperf \
alien \
libcapnp-dev
libcapnp-dev \
cmake
COPY build.sh /