Skip to content

Commit

Permalink
Remove /etc/pki permissions to gen3 user
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 committed Jan 11, 2025
1 parent c6ea916 commit 182e06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ RUN mkdir -p /var/run/sshd ${HADOOP_HOME}/hdfs ${HADOOP_HOME}/hdfs/data ${HADOOP
&& ssh-keygen -A

# # Change owner to gen3 user
RUN chown -R gen3:gen3 ${SPARK_HOME} ${HADOOP_HOME} ${SCALA_HOME} ${JAVA_HOME} "/etc/ssh/" "/etc/pki/"
RUN chown -R gen3:gen3 ${SPARK_HOME} ${HADOOP_HOME} ${SCALA_HOME} ${JAVA_HOME} "/etc/ssh/"

USER gen3

Expand All @@ -136,4 +136,4 @@ ENV HDFS_NODEMANAGER_USER=gen3
# RUN chmod +x /tini
# ENTRYPOINT ["/tini", "--"]

CMD ["/usr/sbin/sshd", "-D"]
# CMD ["/usr/sbin/sshd", "-D"]

0 comments on commit 182e06c

Please sign in to comment.