From 807158782bbd4a887dfb496f618fab88c8b60573 Mon Sep 17 00:00:00 2001 From: Jakub Chrobasik Date: Mon, 12 Feb 2024 12:26:25 +0100 Subject: [PATCH] fix: services cannot start due to permission denied --- project/DockerImagePlugin.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/project/DockerImagePlugin.scala b/project/DockerImagePlugin.scala index 1a32cd7e..6ee5e3e1 100644 --- a/project/DockerImagePlugin.scala +++ b/project/DockerImagePlugin.scala @@ -19,6 +19,7 @@ object DockerImagePlugin extends AutoPlugin { val dockerSettings = Seq( dockerUpdateLatest := true, // dockerEntrypoint := Seq(s"bin/${executableScriptName.value}", "-Duser.timezone=UTC", "$JAVA_OPTS"), + dockerAdditionalPermissions += (DockerChmodType.UserGroupWriteExecute, "/opt/docker"), dockerBaseImage := s"eclipse-temurin:21-jre", // derive a package name Docker / packageName := (Compile / name).value,