Skip to content

Commit 4ff02d6

Browse files
authored
Gradle 8.8 og nonroot user (#496)
1 parent fd61155 commit 4ff02d6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ LABEL org.opencontainers.image.source=https://github.com/navikt/omsorgspenger-ra
33

44
COPY build/libs/app.jar /app/app.jar
55
WORKDIR /app
6+
7+
USER nonroot
8+
69
CMD [ "app.jar" ]

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ tasks {
110110
}
111111

112112
withType<Wrapper> {
113-
gradleVersion = "8.6"
113+
gradleVersion = "8.8"
114114
}
115115

116116
withType<JacocoReport> {

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)