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