Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +0 -1
Dockerfile
CHANGED
|
@@ -25,7 +25,6 @@ RUN wget https://github.com/oauth2-proxy/oauth2-proxy/releases/download/v7.6.0/o
|
|
| 25 |
&& chmod +x /usr/bin/oauth2-proxy \
|
| 26 |
&& rm -rf oauth2-proxy-v7.6.0.linux-amd64*
|
| 27 |
|
| 28 |
-
# 重点:确保 user 拥有 home 目录权限
|
| 29 |
RUN useradd -m -u 1000 -s /bin/bash user \
|
| 30 |
&& echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
|
| 31 |
&& mkdir -p /var/log/nginx /var/lib/nginx /run/nginx /var/www/html/theme \
|
|
|
|
| 25 |
&& chmod +x /usr/bin/oauth2-proxy \
|
| 26 |
&& rm -rf oauth2-proxy-v7.6.0.linux-amd64*
|
| 27 |
|
|
|
|
| 28 |
RUN useradd -m -u 1000 -s /bin/bash user \
|
| 29 |
&& echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
|
| 30 |
&& mkdir -p /var/log/nginx /var/lib/nginx /run/nginx /var/www/html/theme \
|