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/
9090RUN set -x \
9191 && mkdir -p /var/cache/nginx/s3_proxy \
9292 && 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 \
3535 nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} \
3636 && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list
3737
38- COPY oss/etc /etc
38+ COPY oss/etc/nginx /etc/nginx
3939COPY common/etc /etc
4040COPY common/docker-entrypoint.sh /docker-entrypoint.sh
4141COPY common/docker-entrypoint.d /docker-entrypoint.d/
4242
4343RUN set -x \
4444 && mkdir -p /var/cache/nginx/s3_proxy \
4545 && 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 \
8383COPY plus/etc/nginx /etc/nginx
8484COPY common/etc /etc
8585COPY common/docker-entrypoint.sh /docker-entrypoint.sh
86+ COPY common/docker-entrypoint.d /docker-entrypoint.d/
8687
8788RUN set -x \
8889 && mkdir -p /var/cache/nginx/s3_proxy \
8990 && 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