Skip to content
Snippets Groups Projects

XX-4183/rootless CI

3 files
+ 29
6
Compare changes
  • Side-by-side
  • Inline

Files

+ 10
1
@@ -8,7 +8,7 @@ ENV CUDA_VER=1.11.1
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata wget git libgmp-dev bc curl nsight-systems-2020.3.4 jq clang build-essential valgrind unzip zip
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata wget git libgmp-dev bc curl nsight-systems-2020.3.4 jq clang build-essential valgrind unzip zip sudo
RUN apt upgrade -y
RUN apt install -y software-properties-common
RUN wget https://go.dev/dl/go1.17.13.linux-amd64.tar.gz
@@ -40,3 +40,12 @@ COPY upload-artifact-nohash.sh /upload-artifact-nohash.sh
RUN chmod +x /upload-artifact-nohash.sh
COPY hash-file.sh /hash-file.sh
RUN chmod +x /hash-file.sh
RUN git config --global --add safe.directory '*'
RUN useradd --system --create-home --shell /bin/bash npuser
RUN adduser npuser sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER npuser
RUN git config --global --add safe.directory '*'
Loading