Skip to content

Commit

Permalink
Configure UserAgent for apt in DockerfileForPlus
Browse files Browse the repository at this point in the history
  • Loading branch information
pleshakov committed Mar 14, 2019
1 parent 6c04b52 commit 86f10ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/DockerfileForPlus
Expand Up @@ -33,6 +33,7 @@ RUN set -x \
&& echo "Acquire::https::plus-pkgs.nginx.com::Verify-Host \"true\";" >> /etc/apt/apt.conf.d/90nginx \
&& echo "Acquire::https::plus-pkgs.nginx.com::SslCert \"/etc/ssl/nginx/nginx-repo.crt\";" >> /etc/apt/apt.conf.d/90nginx \
&& echo "Acquire::https::plus-pkgs.nginx.com::SslKey \"/etc/ssl/nginx/nginx-repo.key\";" >> /etc/apt/apt.conf.d/90nginx \
&& echo "Acquire::https::plus-pkgs.nginx.com::User-Agent \"k8s-ic-edge-apt\";" >> /etc/apt/apt.conf.d/90nginx \
&& printf "deb https://plus-pkgs.nginx.com/debian stretch nginx-plus\n" > /etc/apt/sources.list.d/nginx-plus.list \
&& apt-get update && apt-get install -y nginx-plus=${NGINX_PLUS_VERSION} \
&& apt-get remove --purge --auto-remove -y gnupg1 \
Expand Down

0 comments on commit 86f10ac

Please sign in to comment.