Skip to content

Commit

Permalink
Cleanup permissions of opt/docker-emtrypoint.sh in container image
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Jun 5, 2024
1 parent d6530a8 commit dcb22ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ oci {
layer("hivemq") {
contents {
into("opt") {
filePermissions = 0b110_100_000
directoryPermissions = 0b111_101_000
from("docker/docker-entrypoint.sh") { filePermissions = 0b111_101_101 }
permissions("hivemq/", 0b111_111_000)
permissions("**/*.sh", 0b111_101_000)
from("docker/docker-entrypoint.sh")
into("hivemq") {
filePermissions = 0b110_100_000
directoryPermissions = 0b111_101_000
permissions("**/*.sh", 0b111_101_000)
permissions("conf/", 0b111_111_000)
permissions("conf/config.xml", 0b110_110_000)
permissions("conf/logback.xml", 0b110_110_000)
Expand Down

0 comments on commit dcb22ae

Please sign in to comment.