ci: Fix debian build
This commit is contained in:
@@ -5,15 +5,9 @@ FROM debian:latest AS base
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
RUN apt-get update -qq \
|
||||
&& 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.25.2
|
||||
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
|
||||
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
|
||||
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
|
||||
&& rm cmake-3.25.2-linux-x86_64.sh
|
||||
CMD [ "/bin/bash" ]
|
||||
|
||||
FROM base AS swig
|
||||
|
||||
@@ -5,16 +5,10 @@ FROM debian:latest AS base
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -yq \
|
||||
git wget libssl-dev pkg-config build-essential \
|
||||
git wget libssl-dev build-essential cmake \
|
||||
autoconf libtool zlib1g-dev lsb-release \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# Install CMake 3.25.2
|
||||
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
|
||||
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
|
||||
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
|
||||
&& rm cmake-3.25.2-linux-x86_64.sh
|
||||
CMD [ "/bin/bash" ]
|
||||
|
||||
FROM base AS swig
|
||||
|
||||
Reference in New Issue
Block a user