Skip to content

Improve permissions in Docker image#1286

Merged
zackgalbreath merged 1 commit into
masterfrom
chgrp_not_chown
Jan 27, 2023
Merged

Improve permissions in Docker image#1286
zackgalbreath merged 1 commit into
masterfrom
chgrp_not_chown

Conversation

@zackgalbreath
Copy link
Copy Markdown
Contributor

Copy files and execute commands as www-data as much as possible, rather than using chown, chgrp, or chmod after the fact.

This makes it so we no longer have to explicitly configure the CDash clone as a safe directory for git.

Copy files and execute commands as www-data as much as possible,
rather than using chown, chgrp, or chmod after the fact.

This makes it so we no longer have to explicitly configure the CDash
clone as a safe directory for git.
@zackgalbreath
Copy link
Copy Markdown
Contributor Author

as a secondary benefit, this PR seems to shave 8 minutes off our CI time

Copy link
Copy Markdown
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Builds nice and quick. Not waiting for that big chown command really does save a chunk of time. LGTM!

@zackgalbreath zackgalbreath merged commit dbb63f3 into master Jan 27, 2023
@zackgalbreath zackgalbreath deleted the chgrp_not_chown branch January 27, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants