diff --git a/runtimes/8.0/Dockerfile b/runtimes/8.0/Dockerfile index de32ad2d..23fb2ace 100644 --- a/runtimes/8.0/Dockerfile +++ b/runtimes/8.0/Dockerfile @@ -56,6 +56,7 @@ RUN update-alternatives --set php /usr/bin/php8.0 RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.0 +RUN userdel -r ubuntu RUN groupadd --force -g $WWWGROUP sail RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail diff --git a/runtimes/8.1/Dockerfile b/runtimes/8.1/Dockerfile index 2de34feb..2261ab86 100644 --- a/runtimes/8.1/Dockerfile +++ b/runtimes/8.1/Dockerfile @@ -55,6 +55,7 @@ RUN apt-get update && apt-get upgrade -y \ RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.1 +RUN userdel -r ubuntu RUN groupadd --force -g $WWWGROUP sail RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail diff --git a/runtimes/8.2/Dockerfile b/runtimes/8.2/Dockerfile index 2dc51e91..88d497ab 100644 --- a/runtimes/8.2/Dockerfile +++ b/runtimes/8.2/Dockerfile @@ -56,6 +56,7 @@ RUN apt-get update && apt-get upgrade -y \ RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.2 +RUN userdel -r ubuntu RUN groupadd --force -g $WWWGROUP sail RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail diff --git a/runtimes/8.3/Dockerfile b/runtimes/8.3/Dockerfile index e2359bcd..af5cb8e7 100644 --- a/runtimes/8.3/Dockerfile +++ b/runtimes/8.3/Dockerfile @@ -57,6 +57,7 @@ RUN apt-get update && apt-get upgrade -y \ RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.3 +RUN userdel -r ubuntu RUN groupadd --force -g $WWWGROUP sail RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail diff --git a/runtimes/8.4/Dockerfile b/runtimes/8.4/Dockerfile index 33f882e6..8707873e 100644 --- a/runtimes/8.4/Dockerfile +++ b/runtimes/8.4/Dockerfile @@ -58,6 +58,7 @@ RUN apt-get update && apt-get upgrade -y \ RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.4 +RUN userdel -r ubuntu RUN groupadd --force -g $WWWGROUP sail RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail