Initial commit
This commit is contained in:
commit
5079cdc5f0
2 changed files with 13 additions and 0 deletions
6
docker-compose.yaml
Normal file
6
docker-compose.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
services:
|
||||
app:
|
||||
image: "golang:alpine"
|
||||
volumes:
|
||||
- "./:/app"
|
||||
working_dir: /app
|
7
run
Executable file
7
run
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
function go {
|
||||
docker-compose run --rm app go "${@}"
|
||||
}
|
||||
|
||||
eval "$@"
|
Reference in a new issue