gsc
gsc copied to clipboard
Set correct permissions of `/tmp` dir during GSC build
Description of the changes
The original app image may have changed the permissions of /tmp dir. At the same time, correct permissions are required for installation of packages during GSC build. This commit adds explicit chmod 1777 /tmp.
Fixes #193.
How to test this PR?
Looks like a reproducer would be like this:
FROM debian:12
RUN chmod 1777 /tmp
USER ${non_root_uid}:${non_root_gid}
But I haven't tested really.