diff --git a/Dockerfile b/Dockerfile index 2144cee..0377e6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-jdk-focal +FROM eclipse-temurin:17-jdk WORKDIR /app COPY ./build/libs/* ./nextcloud-dlna.jar diff --git a/build.gradle b/build.gradle index 89029fc..c985f2e 100644 --- a/build.gradle +++ b/build.gradle @@ -46,9 +46,10 @@ dependencies { implementation 'org.jupnp:org.jupnp:2.7.1' implementation 'org.jupnp:org.jupnp.support:2.7.1' implementation 'org.apache.httpcomponents:httpclient:4.5.14' + // to avoid snakeyaml-1.3 vulnerability CVE-2022-1471 + implementation 'org.yaml:snakeyaml:2.2' testImplementation 'org.apache.groovy:groovy:4.0.15' - testImplementation('org.spockframework:spock-core:2.4-M1-groovy-4.0') testImplementation('org.spockframework:spock-spring:2.4-M1-groovy-4.0') testImplementation('org.springframework.boot:spring-boot-starter-test') {