[dockerfile] Moves Dockerfile to root

This commit is contained in:
dougbtv
2018-08-27 16:55:46 -04:00
parent 86af6ab69f
commit 8d38b3c6af
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ script:
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci
- mkdir -p ${TRAVIS_BUILD_DIR}/dist
- tar cvfz ${TRAVIS_BUILD_DIR}/dist/multus-cni_amd64.tar.gz --warning=no-file-changed --exclude="dist" --exclude="vendor" .
- docker build -t nfvpe/multus -f ./images/Dockerfile .
- docker build -t nfvpe/multus .
before_deploy:
- go get -u github.com/laher/goxc

View File

@@ -2,10 +2,10 @@
This is used for distribution of Multus in a Docker image.
Typically you'd build this from the root of your Multus clone, and you'd set the `-f` flag to specify the Dockerfile during build time. This allows the addition of the entirety of the Multus git clone as part of the Docker context. Use the `-f` flag with the root of the clone as the context (e.g. your current work directory would be root of git clone), such as:
Typically you'd build this from the root of your Multus clone, as such:
```
$ docker build -t dougbtv/multus -f ./images/Dockerfile .
$ docker build -t dougbtv/multus .
```
---