Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Building Docker image with New Relic Java agent automatically

rfb

#1

I’m in the process of writing a base Docker image for our Java developers to use.

However, I can’t seem to find a place to find the Java agent installer/zip outside of the “log into your account, and click on the thing to download” instructions. Is there really no CDN for this? If not, why not?


#2

Nevermind, found one:

https://repo1.maven.org/maven2/com/newrelic/agent/java/newrelic-java/4.8.0/


#3

Hi, @protoben: You may also download it via your New Relic account: https://rpm.newrelic.com/accounts/{account-id}/download_agent?lang=java. That will always give you the latest version of the agent.


#4

Sure, but that can’t be done without being logged in to the web UI. That part can’t be scripted without having a headless browser running.


#5

Ah, good point, sorry.


#6

@protoben: http://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/ :slight_smile:


#7

Nice find! I’ll switch from using maven.org.