Feature/docker4build (#192)

* Help developers with docker-compose configuration

* unrequire Buillderfile

* GOOS and GOARCH from environment
This commit is contained in:
Stephan Hradek
2022-06-07 06:27:18 +02:00
committed by GitHub
parent 9ec7728d08
commit ac2132b9c6
2 changed files with 52 additions and 0 deletions

View File

@@ -445,6 +445,17 @@ go get -v github.com/kovetskiy/mark
$ docker run --rm -i kovetskiy/mark:latest mark <params>
```
### Compile and install using docker-compose
Mostly useful when you intend to enhance `mark`.
```bash
# Create the binary
$ docker-compose run markbuilder
# "install" the binary
$ cp mark /usr/local/bin
```
## Usage
```