Skip to content

Commit

Permalink
ci(cmake): use ubuntu default cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jun 14, 2024
1 parent b09c172 commit c1fe71c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cmake/docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ FROM ubuntu:rolling AS base
ENV PATH=/usr/local/bin:$PATH
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq \
git wget libssl-dev build-essential \
git wget libssl-dev build-essential cmake \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install CMake 3.28.3
RUN wget -q "https://cmake.org/files/v3.28/cmake-3.28.3-linux-x86_64.sh" \
&& chmod a+x cmake-3.28.3-linux-x86_64.sh \
&& ./cmake-3.28.3-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.28.3-linux-x86_64.sh
CMD [ "/usr/bin/bash" ]

FROM base AS swig
RUN apt-get update -qq \
&& apt-get install -yq swig \
Expand Down

0 comments on commit c1fe71c

Please sign in to comment.