Skip to content

Commit

Permalink
Remove ubuntu user
Browse files Browse the repository at this point in the history
  • Loading branch information
Laica-Lunasys committed Jul 28, 2024
1 parent 4d9d807 commit 52dcb85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion velocity/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ RUN apt-get update -qq && \
# Copy Entry point
COPY entrypoint.sh launcher.sh autoconfig.sh /

RUN useradd app --uid 7000 -U -s /bin/bash
RUN userdel -rf $(cat /etc/passwd | grep 1000 | cut -d ':' -f 1) && \
useradd app --uid 1000 -U -s /bin/bash

# Copy basements...
COPY templates/ /app/templates/
Expand Down

0 comments on commit 52dcb85

Please sign in to comment.