Skip to content

Commit

Permalink
fix: use mkdir -p so it works even if directory already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Sep 29, 2023
1 parent 093d253 commit 7f5db0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function createBuildContext(

$context->from($this->baseImage);
$context->run('apk add --update --no-cache jq');
$context->run('mkdir /runtime && chown nobody:nobody /runtime');
$context->run('mkdir -p /runtime && chown nobody:nobody /runtime');
$context->volume('/runtime');
$context->copyFromLayer("/project", "0", "/build");

Expand Down

0 comments on commit 7f5db0d

Please sign in to comment.