From 44b5eb3751f8687245eccecfe6c00bdb6eb3eba2 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 24 Jul 2023 12:30:15 +0200 Subject: [PATCH] cmake: update docker cmake to 3.26.0 --- tools/ci/docker/linux/Dockerfile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tools/ci/docker/linux/Dockerfile b/tools/ci/docker/linux/Dockerfile index b792e696cc51b..489867dac6b2a 100644 --- a/tools/ci/docker/linux/Dockerfile +++ b/tools/ci/docker/linux/Dockerfile @@ -230,19 +230,26 @@ RUN mkdir wamrc && \ FROM ubuntu:20.04 LABEL maintainer="dev@nuttx.apache.org" +RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq \ + build-essential \ + curl \ + gcc \ + libssl-dev + +RUN mkdir -p cmake && \ + curl -s -L wget https://cmake.org/files/v3.26/cmake-3.26.0.tar.gz \ + | tar -C cmake --strip-components=1 -xz && \ + cd cmake && ./bootstrap && make && make install && rm -rf cmake + RUN dpkg --add-architecture i386 # This is used for the final images so make sure to not store apt cache # Note: xtensa-esp32-elf-gdb is linked to libpython2.7 RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq --no-install-recommends \ -o APT::Immediate-Configure=0 \ avr-libc \ - build-essential \ ccache \ clang \ clang-tidy \ - cmake \ - curl \ - gcc \ gcc-avr \ gcc-multilib \ genromfs \