Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d56cdd

Browse files
committed
Changes arg/env structure
1 parent7de0b40 commit9d56cdd

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

‎composer.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM composer:2
22

3-
ENV UID=1000
4-
ENV GID=1000
3+
ARG UID
4+
ARG GID
55

6-
ARG UID=${UID}
7-
ARG GID=${GID}
6+
ENV UID=${UID}
7+
ENV GID=${GID}
88

99
# MacOS staff group's gid is 20, so is the dialout group in alpine linux. We're not using it, let's just remove it.
1010
RUN delgroup dialout

‎nginx.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM nginx:stable-alpine
22

3-
ENV UID=1000
4-
ENV GID=1000
3+
ARG UID
4+
ARG GID
55

6-
ARG UID=${UID}
7-
ARG GID=${GID}
6+
ENV UID=${UID}
7+
ENV GID=${GID}
88

99
# MacOS staff group's gid is 20, so is the dialout group in alpine linux. We're not using it, let's just remove it.
1010
RUN delgroup dialout

‎php.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM php:8-fpm-alpine
22

3-
ENV UID=1000
4-
ENV GID=1000
3+
ARG UID
4+
ARG GID
55

6-
ARG UID=${UID}
7-
ARG GID=${GID}
6+
ENV UID=${UID}
7+
ENV GID=${GID}
88

99
RUN mkdir -p /var/www/html
1010

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp