Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
force 0o555 mode for executables added to oci images
Browse files Browse the repository at this point in the history
  • Loading branch information
Strum355 committed Feb 14, 2024
1 parent 39983ce commit 825e834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/server/macro.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def container_dependencies(targets):
name = "tar_{}".format(name),
srcs = [target],
remap_paths = {"/{}".format(name): "/usr/local/bin/{}".format(name)},
modes = {"/usr/local/bin/{}".format(name): "0555"},
)

def dependencies_tars(targets):
Expand Down

0 comments on commit 825e834

Please sign in to comment.