Skip to content

Commit 3433334

Browse files
authored
update: fetch latest Geckodriver via GH api
Correct typo in syntax
1 parent a1376bb commit 3433334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NodeFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
3131
# GeckoDriver
3232
#============
3333
ARG GECKODRIVER_VERSION=latest
34-
RUN if LATEST_VERSION=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest | jq -r '.tag_name') \
34+
RUN LATEST_VERSION=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest | jq -r '.tag_name') \
3535
&& DRIVER_ARCH=$(if [ "$(dpkg --print-architecture)" = "amd64" ]; then echo "linux64"; else echo "linux-aarch64"; fi) \
3636
&& GK_VERSION=$(if [ ${GECKODRIVER_VERSION:-latest} = "latest" ]; then echo "${LATEST_VERSION}"; else echo $GECKODRIVER_VERSION; fi) \
3737
&& echo "Using GeckoDriver version: "$GK_VERSION \

0 commit comments

Comments
 (0)