added
This commit is contained in:
@@ -20,7 +20,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3-pip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install conan --break-system-packages
|
||||
# Install conan only for Ubuntu 24.04 or newer
|
||||
RUN UBUNTU_MAJOR_VERSION=$(cut -d'.' -f1 <<<"$UBUNTU_VERSION") && \
|
||||
if [ "$UBUNTU_MAJOR_VERSION" -ge 24 ]; then \
|
||||
pip install conan --break-system-packages; \
|
||||
fi
|
||||
|
||||
RUN mkdir -p $NVM_DIR && \
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && \
|
||||
|
||||
Reference in New Issue
Block a user