From 5a36ec8d680df2d02975e9fc64218f43c0fddf40 Mon Sep 17 00:00:00 2001 From: xatier Date: Sat, 22 Jan 2022 22:28:25 -0600 Subject: [PATCH] Use non-root user as the podman bug has been fixed See: https://github.com/containers/podman/pull/12433 --- eh/Dockerfile | 1 + eh/README.md | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/eh/Dockerfile b/eh/Dockerfile index 9e9bc5a..39e7e8d 100644 --- a/eh/Dockerfile +++ b/eh/Dockerfile @@ -7,4 +7,5 @@ RUN pacman -Syuu --noconfirm --needed \ COPY ./entrypoint.sh /srv/entrypoint.sh WORKDIR /eh +USER xatier ENTRYPOINT ["/srv/entrypoint.sh"] diff --git a/eh/README.md b/eh/README.md index 98a535a..32e1834 100644 --- a/eh/README.md +++ b/eh/README.md @@ -18,4 +18,3 @@ make ## Security concerns - The container is running with `NET_ADMIN` and `NET_RAW` capabilities. -- The container is running with `root` user since it needs `rw` access to the data.