fix seccomp key

This commit is contained in:
Henry Oswald
2018-06-26 15:38:30 +01:00
parent 364c8097c8
commit 4bfc02ef3b

View File

@@ -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}"