File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -90,4 +90,5 @@ COPY common/docker-entrypoint.d /docker-entrypoint.d/
90
90
RUN set -x \
91
91
&& mkdir -p /var/cache/nginx/s3_proxy \
92
92
&& chown nginx:nginx /var/cache/nginx/s3_proxy \
93
- && chmod -R -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh;
93
+ && chmod -v +x /docker-entrypoint.sh \
94
+ && find /docker-entrypoint.d -type f -name '*.sh' -exec chmod -v +x {} \;
Original file line number Diff line number Diff line change @@ -35,12 +35,13 @@ RUN set -x \
35
35
nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} \
36
36
&& apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list
37
37
38
- COPY oss/etc /etc
38
+ COPY oss/etc/nginx /etc/nginx
39
39
COPY common/etc /etc
40
40
COPY common/docker-entrypoint.sh /docker-entrypoint.sh
41
41
COPY common/docker-entrypoint.d /docker-entrypoint.d/
42
42
43
43
RUN set -x \
44
44
&& mkdir -p /var/cache/nginx/s3_proxy \
45
45
&& chown nginx:nginx /var/cache/nginx/s3_proxy \
46
- && chmod -R -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh;
46
+ && chmod -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh \
47
+ && find /docker-entrypoint.d -type f -name '*.sh' -exec chmod -v +x {} \;
Original file line number Diff line number Diff line change @@ -83,8 +83,10 @@ RUN set -x \
83
83
COPY plus/etc/nginx /etc/nginx
84
84
COPY common/etc /etc
85
85
COPY common/docker-entrypoint.sh /docker-entrypoint.sh
86
+ COPY common/docker-entrypoint.d /docker-entrypoint.d/
86
87
87
88
RUN set -x \
88
89
&& mkdir -p /var/cache/nginx/s3_proxy \
89
90
&& chown nginx:nginx /var/cache/nginx/s3_proxy \
90
- && chmod -R -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh;
91
+ && chmod -R -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh \
92
+ && find /docker-entrypoint.d -type f -name '*.sh' -exec chmod -v +x {} \;
You can’t perform that action at this time.
0 commit comments