Skip to content

Commit

Permalink
fix: matching docker deamon userid with pod security context requirem…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
jachro committed Feb 12, 2024
1 parent 8071587 commit 1d34205
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/DockerImagePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ 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",
Docker / daemonUserUid := Some("1000"), // uuid 1000 required by renku pod security context
Docker / daemonUser := "searchuser",
// derive a package name
Docker / packageName := (Compile / name).value,
dockerRepository := Some("docker.io"),
Expand Down

0 comments on commit 1d34205

Please sign in to comment.