Fix ajp on chroot
This commit is contained in:
parent
d987371f5d
commit
0665009188
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ RUN apk add --no-cache libcap \
|
||||||
&& setcap -v cap_sys_chroot,cap_net_bind_service=+ep /usr/bin/dumb-init \
|
&& setcap -v cap_sys_chroot,cap_net_bind_service=+ep /usr/bin/dumb-init \
|
||||||
&& apk del libcap
|
&& apk del libcap
|
||||||
|
|
||||||
COPY --from=ajp /ngx_http_ajp_module.so /etc/nginx/modules
|
COPY --from=ajp /ngx_http_ajp_module.so /chroot/etc/nginx/modules
|
||||||
|
|
||||||
RUN ln -sf /chroot/etc/nginx /etc/nginx \
|
RUN ln -sf /chroot/etc/nginx /etc/nginx \
|
||||||
&& ln -sf /chroot/tmp/nginx /tmp/nginx \
|
&& ln -sf /chroot/tmp/nginx /tmp/nginx \
|
||||||
|
|
Loading…
Reference in a new issue