@@ -90,13 +90,26 @@ COPY supervisord.conf /etc
9090RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
9191 && touch /opt/selenium/config.toml \
9292 && chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
93- && wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.5 .0/selenium-server-4.5.3 .jar \
93+ && wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.6 .0/selenium-server-4.6.0 .jar \
9494 -O /opt/selenium/selenium-server.jar \
95- && wget --no-verbose https://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-http-jdk-client/4.5.3 /selenium-http-jdk-client-4.5.3 .jar \
95+ && wget --no-verbose https://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-http-jdk-client/4.6.0 /selenium-http-jdk-client-4.6.0 .jar \
9696 -O /opt/selenium/selenium-http-jdk-client.jar \
9797 && chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
9898 && chmod -R g=u /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor
9999
100+ # =====
101+ # Download observability related jaegar jars and make them available in a separate directory
102+ # so that the container can skip downloading them everytime it comes up
103+ # =====
104+ RUN curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > /tmp/cs \
105+ && chmod +x /tmp/cs \
106+ && mkdir -p /external_jars \
107+ && chmod -R 777 /external_jars
108+
109+ 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
110+
111+ RUN chmod 777 /external_jars/.classpath.txt
112+
100113# ===================================================
101114# Run the following commands as non-privileged user
102115# ===================================================
@@ -105,6 +118,4 @@ USER 1200:1201
105118# Boolean value, maps "--bind-host"
106119ENV SE_BIND_HOST false
107120
108-
109-
110121CMD ["/opt/bin/entry_point.sh" ]
0 commit comments