Skip to content

Commit

Permalink
Fetch changes from main
Browse files Browse the repository at this point in the history
  • Loading branch information
a-krawciw committed Feb 2, 2023
2 parents f1b4c88 + 2ea8eb3 commit d2b617a
Show file tree
Hide file tree
Showing 15 changed files with 148 additions and 255 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ CMD ["/bin/bash"]
# --build-arg HOMEDIR=${HOME} .
ARG GROUPID=0
ARG USERID=0
ARG USERNAME=sherry
ARG HOMEDIR=/home/sherry
ARG USERNAME=root
ARG HOMEDIR=/root

RUN if [ ${GROUPID} -ne 0 ]; then addgroup --gid ${GROUPID} ${USERNAME}; fi \
&& if [ ${USERID} -ne 0 ]; then adduser --disabled-password --gecos '' --uid ${USERID} --gid ${GROUPID} ${USERNAME}; fi
Expand Down Expand Up @@ -150,5 +150,8 @@ RUN mkdir -p ${HOMEDIR}/opencv/build && cd ${HOMEDIR}/opencv/build \


# RUN cp -r ${HOMEDIR}/ASRL/libtorch /usr/local/.

RUN apt install htop

## Switch to specified user
USER ${USERID}:${GROUPID}
Loading

0 comments on commit d2b617a

Please sign in to comment.