Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docker-selenium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ package:
# But the '-' is not a valid character according to APK versioning spec; and resulting
# 'package format error' when trying to install the package. The workaround is
# to replace '-' with '.', then mangling the version to replace back.
version: "4.35.0.20250808"
epoch: 2
version: "4.35.0.20250828"
epoch: 0
description: Provides a simple way to run Selenium Grid with Chrome, Firefox, and Edge using Docker, making it easier to perform browser automation
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -63,7 +63,7 @@ pipeline:
with:
repository: https://github.com/SeleniumHQ/docker-selenium
tag: ${{vars.mangled-package-version}}
expected-commit: 2e8d7ec78113f09eefb74bbb645b43b455a474e0
expected-commit: e7cc44c1a1da860664198080436973d3d2cb7ebb

- uses: patch
with:
Expand Down Expand Up @@ -108,14 +108,17 @@ subpackages:
# Do not change these. Docker Selenium is sensitive to the versions used
OPENTELEMETRY_VERSION=$(cat ./Dockerfile | grep "^ARG OPENTELEMETRY_VERSION" | sed "s/.*=//")
GRPC_VERSION=$(cat ./Dockerfile | grep "^ARG GRPC_VERSION" | sed "s/.*=//")
NETTY_VERSION="4.1.118.Final"
NETTY_VERSION=$(cat ./Dockerfile | grep "^ARG NETTY_VERSION" | sed "s/.*=//")

mkdir -p ${{targets.contextdir}}/external_jars
curl -sSLfO https://github.com/coursier/launchers/raw/master/coursier
chmod +x coursier
./coursier fetch --classpath --cache ${{targets.contextdir}}/external_jars \
io.opentelemetry:opentelemetry-exporter-otlp:${OPENTELEMETRY_VERSION} \
io.netty:netty-handler:${NETTY_VERSION} \
io.netty:netty-codec:${NETTY_VERSION} \
io.netty:netty-codec-http:${NETTY_VERSION} \
io.netty:netty-codec-http2:${NETTY_VERSION} \
io.grpc:grpc-netty:${GRPC_VERSION} > ${{targets.contextdir}}/external_jars/.classpath.txt
chmod 665 ${{targets.contextdir}}/external_jars/.classpath.txt
sed -i 's|${{targets.contextdir}}||g' ${{targets.contextdir}}/external_jars/.classpath.txt
Expand Down Expand Up @@ -188,7 +191,6 @@ subpackages:
mkdir -p ${{targets.contextdir}}/opt/bin
install -Dm755 start-selenium-standalone.sh ${{targets.contextdir}}/opt/bin/
install -Dm755 selenium.conf ${{targets.contextdir}}/etc/supervisor/conf.d/
install -Dm755 generate_config ${{targets.contextdir}}/opt/bin/
test:
environment:
contents:
Expand Down
Loading