Update Dockerfile
All checks were successful
Publish Docker Image / docker (push) Successful in 5m7s

This commit is contained in:
Lee 2024-07-18 16:56:56 +00:00
parent 4baa6f4e9d
commit 07958b33ec

@ -1,10 +1,4 @@
FROM selenium/standalone-firefox:127.0 FROM selenium/standalone-firefox:127.0
RUN sudo apt-get update -y \ RUN sudo apt-get update -y \
&& sudo apt-get install --no-install-recommends --no-install-suggests -y openjdk-19-jdk openjdk-19-jre && sudo apt-get install --no-install-recommends --no-install-suggests -y openjdk-19-jdk openjdk-19-jre
## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container