Skip to content

Commit bd1f781

Browse files
committed
Docker: Update host to download MSEdge driver
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 3e3479e commit bd1f781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NodeEdge/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ ARG EDGE_DRIVER_VERSION
4444
RUN DRIVER_ARCH=$(if [ "$(dpkg --print-architecture)" = "amd64" ]; then echo "linux64"; else echo "linux-aarch64"; fi) \
4545
&& if [ -z "$EDGE_DRIVER_VERSION" ]; \
4646
then EDGE_MAJOR_VERSION=$(microsoft-edge --version | sed -E "s/.* ([0-9]+)(\.[0-9]+){3}.*/\1/") \
47-
&& EDGE_DRIVER_VERSION=$(wget --no-verbose -O - "https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_MAJOR_VERSION}_LINUX" | tr -cd "\11\12\15\40-\176" | tr -d "\r"); \
47+
&& EDGE_DRIVER_VERSION=$(wget --no-verbose -O - "https://msedgedriver.microsoft.com/LATEST_RELEASE_${EDGE_MAJOR_VERSION}_LINUX" | tr -cd "\11\12\15\40-\176" | tr -d "\r"); \
4848
fi \
4949
&& echo "Using msedgedriver version: "$EDGE_DRIVER_VERSION \
50-
&& wget --no-verbose -O /tmp/msedgedriver_${DRIVER_ARCH}.zip https://msedgedriver.azureedge.net/$EDGE_DRIVER_VERSION/edgedriver_${DRIVER_ARCH}.zip \
50+
&& wget --no-verbose -O /tmp/msedgedriver_${DRIVER_ARCH}.zip https://msedgedriver.microsoft.com/$EDGE_DRIVER_VERSION/edgedriver_${DRIVER_ARCH}.zip \
5151
&& rm -rf /opt/selenium/msedgedriver \
5252
&& unzip /tmp/msedgedriver_${DRIVER_ARCH}.zip -d /opt/selenium \
5353
&& rm /tmp/msedgedriver_${DRIVER_ARCH}.zip \

0 commit comments

Comments
 (0)