Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support read-only file system #2

Closed
ErikSchierboom opened this issue Apr 14, 2021 · 0 comments · Fixed by #62
Closed

Support read-only file system #2

ErikSchierboom opened this issue Apr 14, 2021 · 0 comments · Fixed by #62

Comments

@ErikSchierboom
Copy link
Member

When running in Docker, test runners should support being run on a read-only filesystem. The only directories that are writeable are:

  • The /opt/test-runner directory
  • The /tmp directory
  • The input directory
  • The output directory

To simulate this behavior, the --read-only flag has to be passed to the two docker run calls at the following locations:

Using a read-only file system results in the following error at the moment:

Failed to create directory '/root/.raku/short' with mode '0o777': Failed to mkdir: No such file or directory
  in any statement_control at /usr/bin/../share/perl6/lib/Perl6/Grammar.moarvm line 1
  in sub MAIN at /usr/share/perl6/vendor/bin/prove6 line 3
  in block <unit> at /usr/share/perl6/vendor/bin/prove6 line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant