diff --git a/Base/Dockerfile b/Base/Dockerfile index 59f9f7583..ed90f1b73 100644 --- a/Base/Dockerfile +++ b/Base/Dockerfile @@ -117,7 +117,7 @@ RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/sup && touch /opt/selenium/config.toml \ && chown -R ${SEL_USER}:${SEL_GROUP} /opt/selenium /var/run/supervisor /var/log/supervisor /etc/passwd ${HOME} \ && chmod -R 775 /opt/selenium /var/run/supervisor /var/log/supervisor /etc/passwd ${HOME} \ - && wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/${RELEASE}/selenium-server-${VERSION}.jar \ + && wget --no-verbose https://github.com/ndviet/selenium/releases/download/${RELEASE}/selenium-server-${VERSION}.jar \ -O /opt/selenium/selenium-server.jar \ && echo "${SEL_PASSWD}" > /opt/selenium/initialPasswd \ && chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor \ diff --git a/tests/config.toml b/tests/config.toml index 3b90d2963..37867b482 100755 --- a/tests/config.toml +++ b/tests/config.toml @@ -5,6 +5,8 @@ configs = [ "${NAMESPACE}/standalone-edge:${TAG}", '{"browserName": "MicrosoftEdge", "platformName": "linux"}' ] +host-config-keys = ["Dns", "DnsOptions", "DnsSearch", "ExtraHosts"] + url = "http://127.0.0.1:2375" video-image = "${NAMESPACE}/video:${VIDEO_TAG}" diff --git a/tests/docker-compose-v3-test-node-docker.yaml b/tests/docker-compose-v3-test-node-docker.yaml index 9d0fc7b19..d8e433e60 100644 --- a/tests/docker-compose-v3-test-node-docker.yaml +++ b/tests/docker-compose-v3-test-node-docker.yaml @@ -7,6 +7,11 @@ services: - ./videos:/opt/selenium/assets - ./videos/config.toml:/opt/bin/config.toml - /var/run/docker.sock:/var/run/docker.sock + dns: + - 8.8.8.8 + - 1.1.1.1 + dns_search: + - selenium-grid.local depends_on: - selenium-hub environment: