forked fromaschmelyun/docker-compose-laravel
- Notifications
You must be signed in to change notification settings - Fork0
Commit027616a
authored
Updates php.dockerfile with permissions changes
Adds lines to pull in docker-compose arguments to env values. Adds a dynamic addgroup and adduser line to add the user/group associated with the env values, manually returns 0 on that line to always return successful (e.g. when using user root or www-data). Adds sed lines to change the group and user associated with the php service, removes the conf file originally overwriting those. Adds CMD line to start php-fpm with the -R flag, allowing root user.1 parent331ba93 commit027616a
1 file changed
+11
-4
lines changedLines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
| 4 | + | |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
| 7 | + | |
6 | 8 |
| |
7 |
| - | |
| 9 | + | |
8 | 10 |
| |
9 |
| - | |
| 11 | + | |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 |
| |
14 | 19 |
| |
15 | 20 |
| |
16 | 21 |
| |
17 | 22 |
| |
18 | 23 |
| |
| 24 | + | |
| 25 | + |
0 commit comments
Comments
(0)