Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ ENV TF_NEED_ROCM=1
ENV TF_ROCM_GCC=1
ENV ROCM_TOOLKIT_PATH=${ROCM_PATH}

RUN mkdir -p /etc/sudoers.d && touch /etc/sudoers.d/sudo-nopasswd

RUN touch /etc/sudoers.d/sudo-nopasswd

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant

RUN echo 'ALL ALL=NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd

Expand Down