Files
symfony-flex-recipes/symfony.panther.1.0.json
T
github-action botandgithub-action bot 46cdc6094a Update Flex endpoint
2021-09-20 16:37:33 +00:00

53 lines
2.3 KiB
JSON

{
"locks": {
"symfony/panther": {
"version": "1.0",
"recipe": {
"repo": "1.0",
"branch": "master",
"version": "1.0",
"ref": "877d853a05c6713665a2f4b954734592680abff6"
}
}
},
"manifests": {
"symfony/panther": {
"repository": "github.com/symfony/recipes",
"package": "symfony/panther",
"version": "1.0",
"manifest": {
"dockerfile": [
"# Chromium and ChromeDriver",
"ENV PANTHER_NO_SANDBOX 1",
"# Not mandatory, but recommended",
"ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'",
"RUN apk add --no-cache chromium chromium-chromedriver",
"",
"# Firefox and geckodriver",
"#ARG GECKODRIVER_VERSION=0.29.0",
"#RUN apk add --no-cache firefox",
"#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz; \\",
"#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz -C /usr/bin; \\",
"#\trm geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz"
],
"post-install-output": [
" * Install <fg=green>ChromeDriver</> or <fg=green>geckodriver</> with ",
" the package manager of your Operating System.",
" ",
" Alternatively, use Browser Driver Installer:",
"",
" <fg=green>composer require --dev dbrekelmans/bdi</>",
" <fg=green>vendor/bin/bdi detect drivers</>",
"",
" This step is not necessary when using Docker.",
"",
" * To use Panther with PHPUnit,",
" uncomment the snippet registering the Panther extension in <fg=green>phpunit.xml.dist</>"
]
},
"files": [],
"origin": "symfony/panther:1.0@github.com/symfony/recipes:master",
"is_contrib": false
}
}
}