chore(docker): run as non root user in container (#727)
This commit is contained in:
@@ -29,9 +29,13 @@ func GetVersion() string {
|
||||
|
||||
// PrintGoRushVersion provide print server engine
|
||||
func PrintGoRushVersion() {
|
||||
if len(commit) > 7 {
|
||||
commit = commit[:7]
|
||||
}
|
||||
|
||||
fmt.Printf(`GoRush %s, Commit: %s, Compiler: %s %s, Copyright (C) 2023 Bo-Yi Wu, Inc.`,
|
||||
version,
|
||||
commit[:7],
|
||||
commit,
|
||||
runtime.Compiler,
|
||||
runtime.Version())
|
||||
fmt.Println()
|
||||
|
||||
Reference in New Issue
Block a user