switch to non-root user in container

This commit is contained in:
Matthew Tran
2023-09-10 11:21:51 +00:00
parent 4308cd7bda
commit 83a89e548b
10 changed files with 52 additions and 23 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade
RUN useradd -m matt
USER matt
WORKDIR /home/matt
# TODO everything else