@@ -10,9 +10,10 @@ ARG MVN_SELENIUM_VERSION
10
10
# Default value should be aligned with upstream Selenium (https://github.com/SeleniumHQ/selenium/blob/trunk/MODULE.bazel)
11
11
ARG OPENTELEMETRY_VERSION=1.48.0
12
12
ARG GRPC_VERSION=1.71.0
13
+ ARG NETTY_VERSION=4.2.0.Final
13
14
ARG CS_VERSION=2.1.18
14
15
ARG POSTGRESQL_VERSION=42.7.5
15
- ARG ENVSUBST_VERSION=1.4.3
16
+ ARG ENVSUBST_VERSION=1.4.4
16
17
17
18
# Arguments to define the user running Selenium
18
19
ARG SEL_USER=seluser
@@ -77,6 +78,7 @@ RUN apt-get -qqy update \
77
78
&& apt-get upgrade -yq \
78
79
&& apt-get -qqy --no-install-recommends install \
79
80
python3 python3-pip python3-venv \
81
+ && python3 -m pip install --upgrade setuptools virtualenv --break-system-packages \
80
82
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
81
83
&& echo "source $VENV_PATH/bin/activate" >> /etc/bash.bashrc
82
84
@@ -142,6 +144,9 @@ RUN --mount=type=secret,id=SEL_PASSWD \
142
144
java -jar /tmp/cs fetch --classpath --cache /external_jars \
143
145
io.opentelemetry:opentelemetry-exporter-otlp:${OPENTELEMETRY_VERSION} \
144
146
io.grpc:grpc-netty:${GRPC_VERSION} \
147
+ io.netty:netty-codec-http:${NETTY_VERSION} \
148
+ io.netty:netty-handler:${NETTY_VERSION} \
149
+ io.netty:netty-common:${NETTY_VERSION} \
145
150
> /external_jars/.classpath.txt \
146
151
&& chmod 664 /external_jars/.classpath.txt \
147
152
&& java -jar /tmp/cs fetch --classpath --cache /external_jars \
@@ -179,7 +184,7 @@ COPY --chown="${SEL_UID}:${SEL_GID}" certs/tls.crt certs/tls.key certs/server.jk
179
184
# Add envsubst binary
180
185
# ===================================================
181
186
RUN ARCH=$(if [ "$(dpkg --print-architecture)" = "amd64" ]; then echo "x86_64" ; else echo "$(dpkg --print-architecture)" ; fi) \
182
- && curl -fsSL https://github.com/a8m /envsubst/releases/download/v${ENVSUBST_VERSION}/envsubst-$(uname -s)-${ARCH} -o envsubst \
187
+ && curl -fsSL https://github.com/ndviet /envsubst/releases/download/v${ENVSUBST_VERSION}/envsubst-$(uname -s)-${ARCH} -o envsubst \
183
188
&& chmod +x envsubst \
184
189
&& mv envsubst /usr/local/bin \
185
190
&& ln -sf /usr/local/bin/envsubst /usr/bin/envsubst
0 commit comments