finish?
This commit is contained in:
parent
43b3bcc539
commit
08cddb89f5
@ -120,6 +120,8 @@ func execInput(input string) error {
|
|||||||
return nil
|
return nil
|
||||||
case "exit":
|
case "exit":
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
case "":
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prepare the command to execute.
|
// Prepare the command to execute.
|
||||||
|
@ -2,4 +2,4 @@ from golang:latest
|
|||||||
copy . /go
|
copy . /go
|
||||||
run go build -o console console.go
|
run go build -o console console.go
|
||||||
expose 4444
|
expose 4444
|
||||||
# entrypoint ./console
|
entrypoint /bin/bash
|
Loading…
x
Reference in New Issue
Block a user