init_user by proxy

This commit is contained in:
qiaofeng1227 2023-09-22 11:08:25 +08:00
parent 0cfe3ffb61
commit b496fa94c0
5 changed files with 5 additions and 5 deletions

View file

@ -5,5 +5,5 @@ LABEL version="2.10.4"
RUN apt-get update && apt-get install -y curl jq
COPY ./config/initproxy.conf /data/nginx/proxy_host/
COPY ./s6/user /etc/s6-overlay/s6-rc.d/user
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/user
COPY ./s6/init_user /etc/s6-overlay/s6-rc.d/init_user
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/init_user

View file

@ -0,0 +1,3 @@
#!/bin/bash
exec "/etc/s6-overlay/s6-rc.d/init_user/setup"

View file

@ -1,3 +0,0 @@
#!/bin/bash
exec "/etc/s6-overlay/s6-rc.d/user/setup" "$@"