mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 01:08:59 -07: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",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue