Update Dockerfile

This commit is contained in:
Nanne Baars 2023-02-12 22:17:23 +00:00
parent ae081ce319
commit eb4c8388f8

View File

@ -1,8 +1,11 @@
FROM docker.io/eclipse-temurin:17-jre-focal FROM docker.io/eclipse-temurin:17-jre-focal
LABEL NAME = "WebGoat: A deliberately insecure Web Application"
MAINTAINER "WebGoat team"
RUN useradd -ms /bin/bash webgoat RUN \
RUN chgrp -R 0 /home/webgoat useradd -ms /bin/bash webgoat && \
RUN chmod -R g=u /home/webgoat chgrp -R 0 /home/webgoat && \
chmod -R g=u /home/webgoat
USER webgoat USER webgoat