Added a multi-stage Dockerfile for easier local image builds

This commit is contained in:
Geoff Bourne
2021-12-04 18:31:18 -06:00
parent 1b1f8e5f22
commit ca55bde751
5 changed files with 30 additions and 11 deletions
+1 -5
View File
@@ -165,11 +165,7 @@ kubectl apply -f https://raw.githubusercontent.com/itzg/mc-router/master/docs/k8
## Building locally with Docker
```bash
docker run -it --rm \
-v gopkg:/go/pkg \
-v ${PWD}:/build -w /build \
golang:1.17.3 \
go build ./cmd/mc-router
docker build -t mc-router .
```
## Skaffold