Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalci_environments
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalci_environments
Commits
29394ba1
Commit
29394ba1
authored
1 year ago
by
Sally Young
Committed by
Andrey Postnikov
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
webdriver: update build commands
parent
a8b95677
No related branches found
No related tags found
No related merge requests found
Pipeline
#122714
passed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webdriver/chromedriver/Dockerfile
+8
-7
8 additions, 7 deletions
webdriver/chromedriver/Dockerfile
with
8 additions
and
7 deletions
webdriver/chromedriver/Dockerfile
+
8
−
7
View file @
29394ba1
...
...
@@ -33,14 +33,15 @@ RUN apt-get update && apt-get install -y \
#==================
# Chromedriver
#==================
ARG
CHROME_DRIVER_VERSION=LATEST_RELEASE
RUN
CHROMEVERSION
=
`
wget
-qO-
https://chromedriver.storage.googleapis.com/LATEST_RELEASE
`
\
&&
wget
--no-verbose
-O
/tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/
$CHROMEVERSION
/chromedriver_linux64.zip
\
&&
unzip /tmp/chromedriver_linux64.zip
-d
/opt
\
RUN
CHROME_MAJOR_VERSION
=
$(
google-chrome
--version
|
sed
-E
"s/.* ([0-9]+)(
\.
[0-9]+){3}.*/
\1
/"
)
\
&&
CHROME_DRIVER_VERSION
=
$(
wget
-qO-
https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_
${
CHROME_MAJOR_VERSION
}
|
sed
's/\r$//'
)
\
&&
CHROME_DRIVER_URL
=
"https://storage.googleapis.com/chrome-for-testing-public/
$CHROME_DRIVER_VERSION
/linux64/chromedriver-linux64.zip"
\
&&
wget
--no-verbose
-O
/tmp/chromedriver_linux64.zip
$CHROME_DRIVER_URL
\
&&
unzip /tmp/chromedriver_linux64.zip
-d
/opt
\
&&
rm
/tmp/chromedriver_linux64.zip
\
&&
mv
/opt/chromedriver /opt/chromedriver-
$CHROMEVERSION
\
&&
chmod
755 /opt/chromedriver-
$CHROMEVERSION
\
&&
ln
-fs
/opt/chromedriver-
$CHROMEVERSION
/usr/local/bin/chromedriver
&&
mv
/opt/chromedriver
-linux64/chromedriver
/opt/chromedriver-
$CHROME
_DRIVER_
VERSION
\
&&
chmod
755 /opt/chromedriver-
$CHROME
_DRIVER_
VERSION
\
&&
ln
-fs
/opt/chromedriver-
$CHROME
_DRIVER_
VERSION
/usr/local/bin/chromedriver
RUN
wget
-O
/usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64
RUN
chmod
+x /usr/local/bin/dumb-init
...
...
This diff is collapsed.
Click to expand it.
Sally Young
@justafish
mentioned in commit
eefb0edd
·
1 year ago
mentioned in commit
eefb0edd
mentioned in commit eefb0edd99b2f1bddd025025240e33941ec3963f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment