From 6c8ac7101352b9a7af2090685f3e0d4e69453119 Mon Sep 17 00:00:00 2001 From: Jackson Veroneze Date: Tue, 25 Apr 2023 15:06:31 -0300 Subject: [PATCH] feat: ajustes --- Aspnet/Alpine/Dockerfile-7 | 2 -- Aspnet/Debian/Dockerfile-7 | 2 -- Aspnet/Ubuntu/Dockerfile-7 | 2 -- Aspnet/script-base-debian-like.sh | 4 ++-- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Aspnet/Alpine/Dockerfile-7 b/Aspnet/Alpine/Dockerfile-7 index a9c91e3..8ee087d 100644 --- a/Aspnet/Alpine/Dockerfile-7 +++ b/Aspnet/Alpine/Dockerfile-7 @@ -7,8 +7,6 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false # User envs ARG USERNAME=app -ARG USER_UID=1000 -ARG USER_GID=$USER_UID ARG APP_NAME=app # Build scripts diff --git a/Aspnet/Debian/Dockerfile-7 b/Aspnet/Debian/Dockerfile-7 index eb8d05f..5669daa 100644 --- a/Aspnet/Debian/Dockerfile-7 +++ b/Aspnet/Debian/Dockerfile-7 @@ -7,8 +7,6 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false # User envs ARG USERNAME=app -ARG USER_UID=1000 -ARG USER_GID=$USER_UID ARG APP_NAME=app # Build scripts diff --git a/Aspnet/Ubuntu/Dockerfile-7 b/Aspnet/Ubuntu/Dockerfile-7 index 24cd233..524abd6 100644 --- a/Aspnet/Ubuntu/Dockerfile-7 +++ b/Aspnet/Ubuntu/Dockerfile-7 @@ -7,8 +7,6 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false # User envs ARG USERNAME=app -ARG USER_UID=1000 -ARG USER_GID=$USER_UID ARG APP_NAME=app # Build scripts diff --git a/Aspnet/script-base-debian-like.sh b/Aspnet/script-base-debian-like.sh index 476afa9..c3cd4b5 100644 --- a/Aspnet/script-base-debian-like.sh +++ b/Aspnet/script-base-debian-like.sh @@ -14,5 +14,5 @@ dpkg-reconfigure -f noninteractive locales && \ update-locale LANG=pt_BR.UTF-8 LANGUAGE="pt_BR:pt:en" && \ dpkg-reconfigure -f noninteractive tzdata -groupadd --gid $USER_GID $USERNAME \ - && useradd -r --uid $USER_UID --gid $USER_GID -m $USERNAME \ No newline at end of file +groupadd --gid 1000 $USERNAME \ + && useradd -r --uid 1000 --gid 1000 -m $USERNAME \ No newline at end of file