fix: fixing a security issue in chaindb.

fix: re-enabled dragonheim, since Docker decided not to remove it.
This commit is contained in:
James Wells 2023-03-28 09:55:51 -07:00
parent db351f3892
commit 13d18d7714
Signed by: jwells
GPG key ID: 73196D10B8E65666
2 changed files with 3 additions and 3 deletions

View file

@ -3,12 +3,12 @@
{ {
"name": "Go", "name": "Go",
"build": { "build": {
// "dockerfile": "Dockerfile", "dockerfile": "Dockerfile",
"args": { "args": {
// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17 // Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17
// Append -bullseye or -buster to pin to an OS version. // Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon. // Use -bullseye variants on local arm64/Apple Silicon.
// "VARIANT": "1.20-bullseye", "VARIANT": "1.20-bullseye",
// Options // Options
"NODE_VERSION": "none" "NODE_VERSION": "none"
} }

View file

@ -69,7 +69,7 @@ func (db *GagentDb) WriteHCL() error {
agentBody.SetAttributeValue("version", cty.StringVal(row.Agent.Shasum)) agentBody.SetAttributeValue("version", cty.StringVal(row.Agent.Shasum))
} }
return ioutil.WriteFile("chaindb_out.hcl", f.Bytes(), 0644) return ioutil.WriteFile("chaindb_out.hcl", f.Bytes(), 0600)
} }
/* /*