mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-24 17:01:16 +00:00
We use cargo vendor to generate a .cargo/config file and the vendor directory. Vendoring allows us to lock our dependencies and to modify them easily from the top level Cargo.toml. We vendor all dependencies, including the crates.io ones, which allows for network isolated builds. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
15 lines
299 B
Python
Executable File
15 lines
299 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from __future__ import print_function
|
|
|
|
import os
|
|
from subprocess import call
|
|
import sys
|
|
|
|
try:
|
|
call(['docker', 'run', '-it', '--rm', '-v', os.getcwd() + ':/source',
|
|
'jimmycuadra/rust:1.14.0'])
|
|
except OSError:
|
|
print('Please install Docker.', file=sys.stderr)
|
|
|