fix seccomp key
This commit is contained in:
@@ -43,7 +43,7 @@ if process.env["DOCKER_RUNNER"]
|
|||||||
|
|
||||||
try
|
try
|
||||||
seccomp_profile_path = Path.resolve(__dirname + "/../seccomp/clsi-profile.json")
|
seccomp_profile_path = Path.resolve(__dirname + "/../seccomp/clsi-profile.json")
|
||||||
module.exports.clsi.seccomp_profile = JSON.stringify(JSON.parse(require("fs").readFileSync(seccomp_profile_path)))
|
module.exports.clsi.docker.seccomp_profile = JSON.stringify(JSON.parse(require("fs").readFileSync(seccomp_profile_path)))
|
||||||
catch error
|
catch error
|
||||||
console.log error, "could not load seccom profile from #{seccomp_profile_path}"
|
console.log error, "could not load seccom profile from #{seccomp_profile_path}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user