You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to install the nginx-nr-agent with apt. This works fine with the buildpack, but prior to installing the package, I need to gain access to the repository by downloading and installing the key with apt-key add nginx_signing.key. This throws an error, because apt-key add can only be executed with root access.
I would love to see support for installing keys with this buildpack, and had envisioned something similar to the way we install repositories, where the link following :key: is the link to download the key.
:key:https://nginx.org/keys/nginx_signing.key #download and install key
:repo:deb deb http://nginx.org/packages/ubuntu/ xenial nginx #download and install repo
nginx-nr-agent #install package
The text was updated successfully, but these errors were encountered:
catkhuu
changed the title
Add support for installing keys (e.g. apt-key add <my-key>)
Add support for installing keys (apt-key add)
Apr 3, 2018
catkhuu
changed the title
Add support for installing keys (apt-key add)
Add support for installing keys (i.e. apt-key add)
Apr 3, 2018
Ok, check out #41. You can try it out by specifying the branch like this:
heroku buildpacks:add --index=1 https://github.com/amiel/heroku-buildpack-apt#feature/support-adding-keys
# and you might need to remove the other buildpack if you still have it
heroku buildpacks:remove https://github.com/heroku/heroku-buildpack-apt
I want to install the
nginx-nr-agent
withapt
. This works fine with the buildpack, but prior to installing the package, I need to gain access to the repository by downloading and installing the key withapt-key add nginx_signing.key
. This throws an error, becauseapt-key add
can only be executed with root access.I would love to see support for installing keys with this buildpack, and had envisioned something similar to the way we install repositories, where the link following
:key:
is the link to download the key.The text was updated successfully, but these errors were encountered: