engine: resources: Add nodocker build tag
Make it easy to disable building docker which is enormous.
This commit is contained in:
@@ -351,18 +351,28 @@ GOTAGS=novirt make build
|
|||||||
|
|
||||||
#### Disable augeas support
|
#### Disable augeas support
|
||||||
|
|
||||||
If you wish to compile mgmt without augeas support, you can use the following command:
|
If you wish to compile mgmt without augeas support, you can use the following
|
||||||
|
command:
|
||||||
|
|
||||||
```
|
```
|
||||||
GOTAGS=noaugeas make build
|
GOTAGS=noaugeas make build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Disable docker support
|
||||||
|
|
||||||
|
If you wish to compile mgmt without docker support, you can use the following
|
||||||
|
command:
|
||||||
|
|
||||||
|
```
|
||||||
|
GOTAGS=nodocker make build
|
||||||
|
```
|
||||||
|
|
||||||
#### Combining compile-time flags
|
#### Combining compile-time flags
|
||||||
|
|
||||||
You can combine multiple tags by using a space-separated list:
|
You can combine multiple tags by using a space-separated list:
|
||||||
|
|
||||||
```
|
```
|
||||||
GOTAGS="noaugeas novirt" make build
|
GOTAGS="noaugeas novirt nodocker" make build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|||||||
@@ -119,8 +119,11 @@ To build `mgmt` without augeas support please run:
|
|||||||
To build `mgmt` without libvirt support please run:
|
To build `mgmt` without libvirt support please run:
|
||||||
`GOTAGS='novirt' make build`
|
`GOTAGS='novirt' make build`
|
||||||
|
|
||||||
To build `mgmt` without augeas or libvirt support please run:
|
To build `mgmt` without docker support please run:
|
||||||
`GOTAGS='noaugeas novirt' make build`
|
`GOTAGS='nodocker' make build`
|
||||||
|
|
||||||
|
To build `mgmt` without augeas, libvirt or docker support please run:
|
||||||
|
`GOTAGS='noaugeas novirt nodocker' make build`
|
||||||
|
|
||||||
## Binary Package Installation
|
## Binary Package Installation
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// +build !nodocker
|
||||||
|
|
||||||
package resources
|
package resources
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// +build !nodocker
|
||||||
|
|
||||||
package resources
|
package resources
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user