-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
The idea is to replace the current bash / powershell entrypoint scripts with a GoLang application.
Advantages:
- No need to maintain nearly identical code in bash and powershell
- Easier code sharing of common utilities
- More powerful
- Sanitize arguments more easily by using
exec.Commandinstead ofevalwith an arbitrary string
Instead of using environment configuration only, we could also support config files using
https://github.com/spf13/viper.
Directory structure:
game-images/
├── common/
│ └── module.go
├── games/
│ ├── game1/
│ │ ├── docker/
│ │ │ ├── Dockerfile.linux
│ │ │ ├── Dockerfile.windows
│ │ ├── entrypoint/
│ │ │ ├── main.go
│ ├── game2/
│ │ ├── docker/
│ │ │ ├── Dockerfile.linux
│ │ │ ├── Dockerfile.windows
│ │ ├── entrypoint/
│ │ │ ├── main.go
└── README.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels