Skip to content

Commit e9a25c6

Browse files
committed
fix Dockerfile ci error
1 parent 83ad1a3 commit e9a25c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hadoop-dist/src/main/docker/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ COPY . /opt/hadoop
1919

2020
WORKDIR /opt/hadoop
2121

22-
RUN sudo chown -R hadoop:users /opt/hadoop
22+
USER root
23+
24+
RUN chown -R hadoop:users /opt/hadoop
25+
26+
USER hadoop

0 commit comments

Comments
 (0)