Update Dockerfile
All checks were successful
Publish Docker Image / docker (push) Successful in 5m7s
All checks were successful
Publish Docker Image / docker (push) Successful in 5m7s
This commit is contained in:
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
|
|
Loading…
Reference in New Issue
Block a user