fix: ensure scripts directory created
Description
This MR works around the permission denied issue in the Dockerfile patch Grove is producing by switching user before and after operation.
Supporting information
- https://tasks.opencraft.com/browse/SE-6024
- https://gitlab.com/opencraft/client/asu-moe/grove-development/-/jobs/4841800634
Testing instructions
Steps to test the changes:
- Proofread.
- Check pipelines:
Failed: https://gitlab.com/opencraft/ops/grove-stage-digitalocean/-/jobs/5137842275 Fixed: https://gitlab.com/opencraft/ops/grove-stage-digitalocean/-/pipelines/1015810741
Dependencies
N/A
Screenshots
N/A
Checklist
If any of the items below is not applicable, do not remove them, but put a check in it.
-
Git commit history is clean -
Git commits are following conventional-commit practices -
Unit tests are added/updated -
Documentation is added/updated
Additional context
N/A
Edited by Boros Gábor