@@ -6,13 +6,11 @@ LABEL org.opencontainers.image.source="https://github.com/${AUTHORS}/docker-sele
6
6
# Arguments to define the version of dependencies to download
7
7
ARG VERSION
8
8
ARG RELEASE=selenium-${VERSION}
9
- ARG MVN_SELENIUM_VERSION
10
9
# Default value should be aligned with upstream Selenium (https://github.com/SeleniumHQ/selenium/blob/trunk/MODULE.bazel)
11
10
ARG OPENTELEMETRY_VERSION=1.51.0
12
11
ARG GRPC_VERSION=1.73.0
13
12
ARG NETTY_VERSION=4.1.122.Final
14
13
ARG CS_VERSION=2.1.24
15
- ARG POSTGRESQL_VERSION=42.7.7
16
14
ARG ENVSUBST_VERSION=1.4.5
17
15
18
16
# Arguments to define the user running Selenium
@@ -148,14 +146,7 @@ RUN --mount=type=secret,id=SEL_PASSWD \
148
146
io.netty:netty-handler:${NETTY_VERSION} \
149
147
io.netty:netty-common:${NETTY_VERSION} \
150
148
> /external_jars/.classpath.txt \
151
- && chmod 664 /external_jars/.classpath.txt \
152
- && java -jar /tmp/cs fetch --classpath --cache /external_jars \
153
- org.seleniumhq.selenium:selenium-session-map-jdbc:${MVN_SELENIUM_VERSION} \
154
- org.postgresql:postgresql:${POSTGRESQL_VERSION} \
155
- org.seleniumhq.selenium:selenium-session-map-redis:${MVN_SELENIUM_VERSION} \
156
- # Patch specific version for CVEs in the dependencies
157
- > /external_jars/.classpath_session_map.txt \
158
- && chmod 664 /external_jars/.classpath_session_map.txt ; \
149
+ && chmod 664 /external_jars/.classpath.txt ; \
159
150
fi \
160
151
&& rm -fr /root/.cache/* \
161
152
# (Note that .bashrc is only executed in interactive bash shells.)
0 commit comments