From 593895949df511a4eaeffb71cb75daf5fa4a560c Mon Sep 17 00:00:00 2001 From: jabuxas Date: Mon, 2 Sep 2024 11:41:57 -0300 Subject: [PATCH] feat: remove bash, use sh --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a42c53..ee684af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,8 @@ RUN echo /cports/packages/contrib >> /etc/apk/repositories.d/00-cports.list RUN echo /cports/packages/main >> /etc/apk/repositories.d/00-cports.list -RUN apk upgrade && apk add base-cbuild-host shadow procps ca-certificates bash +RUN apk upgrade && apk add base-cbuild-host shadow procps ca-certificates -RUN useradd -s /bin/bash user +RUN useradd user RUN mkdir /cports && chown -R user:user /cports