Skip to content

Commit 593a7b7

Browse files
committed
Tuning a bit more
1 parent 635bf3a commit 593a7b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Base/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ COPY supervisord.conf /etc
7070
#==========
7171
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
7272
&& touch /opt/selenium/config.toml \
73-
&& chmod -R 664 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
73+
&& chmod -R 755 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
7474
&& wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.7.0/selenium-server-4.7.2.jar \
7575
-O /opt/selenium/selenium-server.jar \
7676
&& wget --no-verbose https://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-http-jdk-client/4.7.2/selenium-http-jdk-client-4.7.2.jar \
@@ -85,11 +85,11 @@ RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/su
8585
RUN curl -fLo /tmp/cs https://github.com/coursier/launchers/raw/master/coursier \
8686
&& chmod +x /tmp/cs \
8787
&& mkdir -p /external_jars \
88-
&& chmod -R 664 /external_jars
88+
&& chmod -R 755 /external_jars
8989

9090
RUN /tmp/cs fetch --classpath --cache /external_jars io.opentelemetry:opentelemetry-exporter-jaeger:1.19.0 io.grpc:grpc-netty:1.50.2 > /external_jars/.classpath.txt
9191

92-
RUN chmod 775 /external_jars/.classpath.txt
92+
RUN chmod 664 /external_jars/.classpath.txt
9393

9494
#===================================================
9595
# Run the following commands as non-privileged user

NodeBase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ RUN mkdir -p ${HOME}/.vnc \
143143
#==========
144144
# Relaxing permissions for OpenShift and other non-sudo environments
145145
#==========
146-
RUN sudo chmod -R 664 ${HOME} \
146+
RUN sudo chmod -R 755 ${HOME} \
147147
&& sudo chgrp -R 0 ${HOME} \
148148
&& sudo chmod -R g=u ${HOME}
149149

0 commit comments

Comments
 (0)