Skip to content

Commit

Permalink
Remove unneeded curl in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Jun 26, 2024
1 parent b567b7d commit b2c45c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ docker / dockerfile := {

new Dockerfile {
from("jetty:9.4-jre8-alpine")

// XXX Remove unnecessary curl to avoid warnings for CVEs
user("root")
run("apk", "del", "--no-cache", "curl")
user("jetty")

add(artifact, artifactTargetPath)
expose(8080)
}
Expand Down

0 comments on commit b2c45c4

Please sign in to comment.