This image is a copy of the selenium image (selenium/base ) but for the raspberry pi 4 (arm)
85
Dockerfile :
FROM arm32v7/ubuntu:18.04
-- Includes minimal runtime used for executing non GUI Java programs
RUN apt-get update -y \
&& apt-get install -y bzip2 \
&& apt-get install -y ca-certificates \
&& apt-get install -y openjdk-8-jre-headless \
&& apt-get install -y sudo \
&& apt-get install -y unzip \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/* \
&& sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' /etc/java-8-openjdk/security/java.security
-- Selenium
RUN mkdir -p /opt/selenium \
&& wget --no-verbose https://selenium-release.storage.googleapis.com/3.0-beta4/selenium-server-standalone-3.0.0-beta4.jar -O /opt/selenium/selenium-server-standalone.jar
-- Add normal user with passwordless sudo
RUN sudo useradd seluser --shell /bin/bash --create-home \
&& sudo usermod -a -G sudo seluser \
&& echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers \
&& echo 'seluser:secret' | chpasswd
Content type
Image
Digest
Size
83.4 MB
Last updated
about 6 years ago
docker pull ddebeul/arm_selenium:16