зеркало из https://github.com/mozilla/gecko-dev.git
15 строки
299 B
Python
Executable File
15 строки
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)
|
|
|