feat: build a debug-shell and distroless container

This commit is contained in:
Aarnav Tale
2025-06-24 10:56:43 -04:00
parent 5a254b746b
commit eed12d348e
5 changed files with 73 additions and 9 deletions
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"fmt"
"os"
)
var imageTag string
func main() {
if imageTag == "" {
os.Exit(1)
}
fmt.Fprintln(os.Stderr, "Headplane containers do not contain a shell by default.")
fmt.Fprintln(os.Stderr, "If you need a non-production container with a shell and root access use:")
fmt.Fprintf(os.Stderr, "\n%s-shell\n\n", imageTag)
os.Exit(127)
}