From 4fe6c7457354f18d95f64fc4f81775836628c9ba Mon Sep 17 00:00:00 2001 From: phcarval <31983398+phcarval@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:07:52 +0200 Subject: [PATCH] Cuda 11.4 dockerfile fix (#1021) fixed dockerfile --- .ci/cuda11.4.Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.ci/cuda11.4.Dockerfile b/.ci/cuda11.4.Dockerfile index 54843ea475..41bb048041 100644 --- a/.ci/cuda11.4.Dockerfile +++ b/.ci/cuda11.4.Dockerfile @@ -36,6 +36,13 @@ RUN add-apt-repository ppa:git-core/ppa &&\ apt-get clean && \ rm -rf /var/lib/apt/lists/* +# Prettier requires atleast nodejs 10 and actions/checkout requires nodejs 16 +RUN curl -sL https://deb.nodesource.com/setup_current.x > nodesetup.sh && \ + bash - nodesetup.sh && \ + apt-get install --no-install-recommends -y nodejs && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + # Create a non-root user RUN useradd -m user USER user @@ -47,13 +54,6 @@ RUN curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > ENV PATH "/home/user/conda/bin:${PATH}" RUN conda install python=3.8 -# Prettier requires atleast nodejs 10 and actions/checkout requires nodejs 16 -RUN curl -sL https://deb.nodesource.com/setup_current.x > nodesetup.sh && \ - bash - nodesetup.sh && \ - apt-get install --no-install-recommends -y nodejs && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - ######################################################### ## Anomalib Development Env