Skip to content

Commit

Permalink
Cuda 11.4 dockerfile fix (#1021)
Browse files Browse the repository at this point in the history
fixed dockerfile
  • Loading branch information
phcarval authored Apr 21, 2023
1 parent 3b00ecf commit 4fe6c74
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .ci/cuda11.4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4fe6c74

Please sign in to comment.