From 8c10ff90aa85a8004df27a4c2514d1815b761924 Mon Sep 17 00:00:00 2001 From: Tim Gymnich Date: Thu, 15 Aug 2024 17:00:21 +0200 Subject: [PATCH] meh --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 37196e5..b39485c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,7 @@ RUN apt-get -q update \ && apt-add-repository "deb http://apt.llvm.org/`lsb_release -cs`/ llvm-toolchain-`lsb_release -cs`-$LLVM_VERSION main" \ && apt-get -q update \ && apt-get install -y --no-install-recommends sudo git ssh zlib1g-dev libzstd-dev automake autoconf cmake make lldb ninja-build gcc g++ gfortran build-essential libtool llvm-$LLVM_VERSION-dev clang-format clangd clang-$LLVM_VERSION libclang-$LLVM_VERSION-dev libomp-$LLVM_VERSION-dev libblas-dev libeigen3-dev libboost-dev python3 python3-pip \ - if [ "$UBUNTU_VERSION" == "24.04" ] ; then \ - python3 -m pip install --break-system-packages lit pathlib2 \ - else \ - python3 -m pip install lit pathlib2 \ - fi \ + if [[ "$UBUNTU_VERSION" == "24.04" ]] ; then python3 -m pip install --break-system-packages lit pathlib2 ; python3 -m pip install lit pathlib2 ; fi \ && groupadd --gid $USER_GID $USERNAME \ && useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \ && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \