feat(common): add newer cmake (from buster-backports)

Required by ZMK cmake boilerplate additions, namely list(PREPEND) which was introduced in cmake 3.15.x
This commit is contained in:
innovaker 2020-11-26 14:20:49 +00:00
parent 9f9bfb6983
commit 5de32f5d18

View File

@ -13,7 +13,6 @@ RUN \
apt-get -y update \
&& apt-get -y install --no-install-recommends \
ccache \
cmake \
file \
gcc \
gcc-multilib \
@ -25,6 +24,10 @@ RUN \
python3-pip \
python3-setuptools \
python3-wheel \
&& echo deb http://deb.debian.org/debian buster-backports main >> /etc/apt/sources.list \
&& apt-get -y update \
&& apt-get -y -t buster-backports install --no-install-recommends \
cmake \
&& pip3 install \
-r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v${ZEPHYR_VERSION}/scripts/requirements-base.txt \
&& apt-get remove -y --purge \
@ -32,7 +35,8 @@ RUN \
python3-setuptools \
python3-wheel \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/* \
&& cmake --version
#------------------------------------------------------------------------------