Skip to content

Commit 6c2ea8c

Browse files
create sudoers.d directory on dockerfile (#3071)
* update Dockerfile.rocm.manylinux_2_28 * modified Dockerfile.rocm.manylinux_2_28
1 parent 7d49774 commit 6c2ea8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/tools/tf_sig_build_dockerfiles/Dockerfile.rocm.manylinux_2_28

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ENV TF_NEED_ROCM=1
6969
ENV TF_ROCM_GCC=1
7070
ENV ROCM_TOOLKIT_PATH=${ROCM_PATH}
7171

72-
RUN touch /etc/sudoers.d/sudo-nopasswd
72+
RUN mkdir -p /etc/sudoers.d && touch /etc/sudoers.d/sudo-nopasswd
7373
RUN echo 'ALL ALL=NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd
7474

7575
# Almalinux 8 does not have the default /usr/bin/python

0 commit comments

Comments
 (0)