Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ For more information about deploying and configuring your PHP app in the GAE fle
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install newrelic-php5
RUN NR_INSTALL_KEY="new-relic-license-key" NR_INSTALL_SILENT=true newrelic-install install
```

NOTE: For Debian Trixie and later use the following `wget` command instead:

```dockerfile
wget -O- https://download.newrelic.com/NEWRELIC_APT_2DAD550E.public | sudo gpg --dearmor -o /usr/share/keyrings/download.newrelic.com-newrelic.gpg
```
</Collapser>

<Collapser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,18 @@ This is the recommended method for New Relic installation and maintenance.

#### 1. Trust the New Relic GPG key

For all Ubuntu releases and Debian releases _before_ Debian Trixie use:

```bash
wget -O- https://download.newrelic.com/NEWRELIC_APT_2DAD550E.public | sudo gpg --import --batch --no-default-keyring --keyring /usr/share/keyrings/download.newrelic.com-newrelic.gpg
```

For Debian Trixie and later use:

```bash
wget -O- https://download.newrelic.com/NEWRELIC_APT_2DAD550E.public | sudo gpg --dearmor -o /usr/share/keyrings/download.newrelic.com-newrelic.gpg
```

This command installs New Relic's GPG key used by `apt` to verify signatures of packages in `http://apt.newrelic.com/debian/` apt repository added in next step.

#### 2. Add `http://apt.newrelic.com/debian/` apt repository to `sources.list`
Expand Down
Loading