Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 2b543c8

Browse files
committed
Upgrade Chromedriver from 2.32 to 2.33
1 parent e3e8aea commit 2b543c8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ USER seluser
644644
# Chrome webdriver
645645
#==================
646646
# How to get cpu arch dynamically: $(lscpu | grep Architecture | sed "s/^.*_//")
647-
ENV CHROME_DRIVER_VERSION="2.32" \
647+
ENV CHROME_DRIVER_VERSION="2.33" \
648648
CHROME_DRIVER_BASE="chromedriver.storage.googleapis.com" \
649649
CPU_ARCH="64"
650650
ENV CHROME_DRIVER_FILE="chromedriver_linux${CPU_ARCH}.zip"

bin/entry.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ if [ -f /var/run/secrets/kubernetes.io/serviceaccount/token ]; then
1818
export USE_KUBERNETES=true
1919
fi
2020

21+
#==============================================
22+
# OpenShift or non-sudo environments support
23+
#==============================================
24+
2125
CURRENT_UID="$(id -u)"
2226
CURRENT_GID="$(id -g)"
2327

@@ -34,7 +38,7 @@ if [ "${REMOVE_SELUSER_FROM_SUDOERS_FOR_TESTING}" == "true" ]; then
3438
fi
3539
fi
3640

37-
# Flag to know if we have sudo acess
41+
# Flag to know if we have sudo access
3842
if sudo pwd >/dev/null 2>&1; then
3943
export WE_HAVE_SUDO_ACCESS="true"
4044
else
@@ -45,8 +49,7 @@ fi
4549
if [ ${CURRENT_GID} -ne 1000 ]; then
4650
if [ "${WE_HAVE_SUDO_ACCESS}" == "true" ]; then
4751
sudo groupadd --gid ${CURRENT_GID} selgroup
48-
# sudo gpasswd -a ${USER} seluser
49-
sudo gpasswd -a ${USER} selgroup
52+
sudo gpasswd -a $(whoami) selgroup
5053
fi
5154
fi
5255

0 commit comments

Comments
 (0)