Skip to content

Commit

Permalink
cmake: install latest cmake to satisfy requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif committed Jan 11, 2019
1 parent 1fec1a6 commit 8430d75
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RUN dpkg --add-architecture i386 && \
automake \
build-essential \
ccache \
cmake \
device-tree-compiler \
dfu-util \
doxygen \
Expand Down Expand Up @@ -81,6 +80,12 @@ RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/${
rm -f ${GCC_ARM_NAME}-linux.tar.bz2 && \
mv ${GCC_ARM_NAME} /opt/toolchains/${GCC_ARM_NAME}

RUN wget -q https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.sh && \
chmod +x cmake-3.13.2-Linux-x86_64.sh && \
./cmake-3.13.2-Linux-x86_64.sh --skip-license --prefix=/usr/local && \
rm -f ./cmake-3.13.2-Linux-x86_64.sh


RUN useradd -m -G plugdev user \
&& echo 'user ALL = NOPASSWD: ALL' > /etc/sudoers.d/user \
&& chmod 0440 /etc/sudoers.d/user
Expand Down

0 comments on commit 8430d75

Please sign in to comment.