mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-18 02:36:27 -08:00
fix: fixing a security issue in chaindb.
fix: re-enabled dragonheim, since Docker decided not to remove it.
This commit is contained in:
parent
db351f3892
commit
13d18d7714
2 changed files with 3 additions and 3 deletions
|
@ -3,12 +3,12 @@
|
|||
{
|
||||
"name": "Go",
|
||||
"build": {
|
||||
// "dockerfile": "Dockerfile",
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": {
|
||||
// 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.
|
||||
// Use -bullseye variants on local arm64/Apple Silicon.
|
||||
// "VARIANT": "1.20-bullseye",
|
||||
"VARIANT": "1.20-bullseye",
|
||||
// Options
|
||||
"NODE_VERSION": "none"
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ func (db *GagentDb) WriteHCL() error {
|
|||
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)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue