Add setting for custom runtime of containers (#10)
This commit is contained in:
parent
6598462227
commit
d83283466c
3 changed files with 14 additions and 3 deletions
|
@ -95,7 +95,9 @@ setupContainer lang = do
|
|||
cnt <- newContainerName lang
|
||||
logInfo ["Setting up new container ", cs cnt]
|
||||
exec_
|
||||
[ "docker run --rm --name="
|
||||
[ "docker run --runtime="
|
||||
, cs $ lang ^. #runtime
|
||||
, " --rm --name="
|
||||
, cs cnt
|
||||
-- User 1000 will be for setting up the environment
|
||||
, " -u1000:1000 -w/tmp/ -dt --net=none --cpus="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue