Skip to content

Commit

Permalink
fix bind mount for newer kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
criyle committed Aug 8, 2020
1 parent cb27f84 commit 405a90a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion env/mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func getDefaultMount(tmpFsConf string) *mount.Builder {
// ghc wants /var/lib/ghc
WithBind("/var/lib/ghc", "var/lib/ghc", true).
// javaScript wants /dev/urandom
WithBind("/dev/urandom", "dev/urandom", true).
WithBind("/dev/urandom", "dev/urandom", false).
// work dir
WithTmpfs("w", tmpFsConf).
// tmp dir
Expand Down
1 change: 0 additions & 1 deletion mount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ mount:
- type: bind
source: /dev/urandom
target: /dev/urandom
readonly: true
# work dir
- type: tmpfs
target: /w
Expand Down

0 comments on commit 405a90a

Please sign in to comment.