mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-13 13:05:42 +00:00
[dockerfile] Moves Dockerfile to root
This commit is contained in:
@@ -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
|
||||
|
@@ -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 .
|
||||
```
|
||||
|
||||
---
|
||||
|
Reference in New Issue
Block a user