From b0a961d08942517c7beef2ac7945ee99a5242c75 Mon Sep 17 00:00:00 2001 From: Heimo Stranner Date: Sat, 18 Sep 2021 15:22:56 +0200 Subject: [PATCH] selenium-chromium --- .gitlab-ci.yml | 6 ++++++ README.md | 6 ++++++ selenium-chromium/Dockerfile | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 selenium-chromium/Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b326b40..a28e55b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,3 +24,9 @@ build-cypress: DIR: cypress NAME: cypress +build-selenium-chromium: + extends: .build-base + variables: + BASE: debian:sid + DIR: selenium-chromium + NAME: selenium-chromium diff --git a/README.md b/README.md index b4acd11..e55d10b 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,9 @@ The stock cypress base image is based on debian 10, ours is based on debian 11 s Our image also has the openjdk preinstalled which the stock version does not have. `registry.reset.inso-w.at/pub/docker/cypress:latest` + +### Image with selenium and chromium + +For tests that use java, node, selenium, chromium + +`registry.reset.inso-w.at/pub/docker/selenium-chromium:latest` diff --git a/selenium-chromium/Dockerfile b/selenium-chromium/Dockerfile new file mode 100644 index 0000000..8ac6796 --- /dev/null +++ b/selenium-chromium/Dockerfile @@ -0,0 +1,5 @@ +FROM debian:sid +RUN apt-get update && apt-get -y install vim curl wget rsync grep maven ssh git gitinspector nodejs npm docker gradle mkdocs maven chromium xvfb openjdk-17-jdk + +RUN npm install protractor -g +RUN webdriver-manager update -- GitLab