Fixed ubuntu rootless dockerfile
Build and Push Alpine Image / Build and push image (root-user) (push) Successful in 55s Details
Build and Push Alpine Image / Build and push image (rootless) (push) Successful in 57s Details
Build and Push Ubuntu Image / Build and push image (root) (push) Successful in 1m18s Details
Build and Push Ubuntu Image / Build and push image (rootless) (push) Failing after 28s Details

This commit is contained in:
Aditya Prima 2024-09-12 03:00:51 +07:00
parent 63b72f02d0
commit 2493982ee0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ LABEL maintainer="<Muhamad Aditya Prima> aprimediet@gmail.com"
ENV PHP_FPM_BIN=php-fpm${PHP_VERSION}
# ADD USER
RUN groupadd -g 10001 phpfpm && useradd -D -u 10001 -G phpfpm -s /bin/sh -h /app phpfpm
RUN groupadd -g 10001 phpfpm && useradd -M -u 10001 -G phpfpm -s /bin/sh -d /app phpfpm
# Set workdir
WORKDIR /