Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-benohe authored Nov 23, 2022
1 parent 8b6c7c0 commit 6b78c09
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## Use whatever base image
FROM adoptopenjdk/openjdk16:jre-16_36
## Use AWS AL2 + Corretto base image
FROM amazoncorretto:17-al2-jdk

COPY target/*.jar app.jar

## Update Packages
RUN yum update -y --security

## Download New Relic
RUN curl -O https://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/newrelic.jar \
&& curl -O https://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/newrelic.yml

Expand Down

0 comments on commit 6b78c09

Please sign in to comment.