File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,13 @@ RUN set -eux \
2525 mkdir -p /var/cache/nginx/s3_proxy; \
2626 chown nginx:nginx /var/cache/nginx/s3_proxy; \
2727 chmod -R -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh; \
28+ apt-get update; \
29+ apt-get install --no-install-recommends --no-install-suggests --yes gnupg2 curl; \
30+ curl -fsSL https://nginx.org/keys/nginx_signing.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/nginx.gpg; \
2831 echo "deb https://nginx.org/packages/mainline/debian/ $(echo $PKG_RELEASE | cut -f2 -d~) nginx" >> /etc/apt/sources.list.d/nginx.list; \
2932 apt-get update; \
3033 apt-get install --no-install-recommends --no-install-suggests --yes \
3134 nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE}; \
32- apt-get remove --purge --auto-remove --yes; \
35+ apt-get remove --purge --auto-remove --yes gnupg2 curl ; \
3336 rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list
3437
You can’t perform that action at this time.
0 commit comments