From fa585918ed78afa77fc07fe7c5589270edd76bad Mon Sep 17 00:00:00 2001 From: Jesper Kristensen Date: Wed, 31 Aug 2022 08:48:36 +0200 Subject: [PATCH] SERV-579: Changed normal user UID to resolve docker mapping issues --- images/php5.6-fpm/alpine/Dockerfile | 4 ++-- images/php7.0-fpm/alpine/Dockerfile | 4 ++-- images/php7.2-fpm/alpine/Dockerfile | 4 ++-- images/php7.3-fpm/alpine/Dockerfile | 4 ++-- images/php7.4-fpm/alpine/Dockerfile | 4 ++-- images/php8.0-fpm/alpine/Dockerfile | 4 ++-- images/php8.1-fpm/alpine/Dockerfile | 4 ++-- images/php8.2-fpm/alpine/Dockerfile | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/images/php5.6-fpm/alpine/Dockerfile b/images/php5.6-fpm/alpine/Dockerfile index 4549295f..d107cc59 100644 --- a/images/php5.6-fpm/alpine/Dockerfile +++ b/images/php5.6-fpm/alpine/Dockerfile @@ -103,8 +103,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php7.0-fpm/alpine/Dockerfile b/images/php7.0-fpm/alpine/Dockerfile index 595dfcd6..aec5456c 100644 --- a/images/php7.0-fpm/alpine/Dockerfile +++ b/images/php7.0-fpm/alpine/Dockerfile @@ -101,8 +101,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ - && adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ + && adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php7.2-fpm/alpine/Dockerfile b/images/php7.2-fpm/alpine/Dockerfile index 8420a156..327d61b8 100644 --- a/images/php7.2-fpm/alpine/Dockerfile +++ b/images/php7.2-fpm/alpine/Dockerfile @@ -102,8 +102,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php7.3-fpm/alpine/Dockerfile b/images/php7.3-fpm/alpine/Dockerfile index 3346b281..9057a748 100644 --- a/images/php7.3-fpm/alpine/Dockerfile +++ b/images/php7.3-fpm/alpine/Dockerfile @@ -102,8 +102,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php7.4-fpm/alpine/Dockerfile b/images/php7.4-fpm/alpine/Dockerfile index 317ef65d..c36ca015 100644 --- a/images/php7.4-fpm/alpine/Dockerfile +++ b/images/php7.4-fpm/alpine/Dockerfile @@ -99,8 +99,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php8.0-fpm/alpine/Dockerfile b/images/php8.0-fpm/alpine/Dockerfile index e1ca51e7..1cfefd1b 100644 --- a/images/php8.0-fpm/alpine/Dockerfile +++ b/images/php8.0-fpm/alpine/Dockerfile @@ -99,8 +99,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php8.1-fpm/alpine/Dockerfile b/images/php8.1-fpm/alpine/Dockerfile index 3ae8c439..1c7aa423 100644 --- a/images/php8.1-fpm/alpine/Dockerfile +++ b/images/php8.1-fpm/alpine/Dockerfile @@ -99,8 +99,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig diff --git a/images/php8.2-fpm/alpine/Dockerfile b/images/php8.2-fpm/alpine/Dockerfile index 87b00920..8a928215 100644 --- a/images/php8.2-fpm/alpine/Dockerfile +++ b/images/php8.2-fpm/alpine/Dockerfile @@ -99,8 +99,8 @@ ADD https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_li RUN chmod +x /usr/local/bin/mhsendmail # Add deploy use to match server. -RUN addgroup -g 1001 deploy \ -&& adduser -G deploy -u 1001 -h /home/deploy -D deploy +RUN addgroup -g 1042 deploy \ +&& adduser -G deploy -u 1042 -h /home/deploy -D deploy # Add git global config COPY gitconfig /home/deploy/.gitconfig