Skip to content

Commit

Permalink
Ekskluderer en avhengighet og bytter baseimage
Browse files Browse the repository at this point in the history
  • Loading branch information
klaramargrethehelgemo committed Feb 7, 2025
1 parent 44cb9d5 commit a7392bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM ghcr.io/navikt/baseimages/temurin:21
FROM gcr.io/distroless/java21-debian12
COPY /target/veilarbportefolje.jar app.jar
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit a7392bb

Please sign in to comment.