nsight com/sys added

This commit is contained in:
2023-12-10 01:35:25 +08:00
parent df4a7b8eb1
commit c23243f42c
4 changed files with 29 additions and 9 deletions

View File

@ -49,7 +49,7 @@ RUN rm -rf opencv_build
RUN apt-get update && apt install -y --no-install-recommends \
sudo libgflags-dev libboost-dev libxml2-dev \
libyaml-cpp-dev sqlite3 libsqlite3-dev libboost-all-dev \
lsb-release openssh-server curl
lsb-release openssh-server curl gdb bash-completion
RUN apt-get -y clean && rm -rf /var/lib/apt/lists/*
# install netron to show model structure
@ -59,12 +59,14 @@ RUN pip install netron
RUN useradd -rm -c ${user} -u 1000 -d /home/${user} -s /bin/bash -G sudo ${user}
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "$user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
RUN echo '${user}:nvidia' | chpasswd
RUN apt-get update
# set working directory of trt webinar
RUN mkdir -p /home/${user}/workspace/
RUN chown -R ${user}:users /home/${user}
COPY .bashrc /home/jiayu/.bashrc
# ssh setting
RUN systemctl enable ssh