Use the official Docker image for Rust

This commit is contained in:
Danny Guo 2017-10-11 12:03:09 -04:00
parent 91240376c1
commit e701012617
2 changed files with 4 additions and 5 deletions

4
.gitignore vendored
View File

@ -1,5 +1,5 @@
/target /target
/Cargo.lock /Cargo.lock
.vagrant
*.swp *.swp
*.swo
.DS_Store

5
dev
View File

@ -7,8 +7,7 @@ from subprocess import call
import sys import sys
try: try:
call(['docker', 'run', '-it', '--rm', '-v', os.getcwd() + ':/source', call(['docker', 'run', '-it', '--rm', '-v', os.getcwd() + ':/src:cached',
'jimmycuadra/rust:1.14.0']) '-w=/src', 'rust:1.20.0'])
except OSError: except OSError:
print('Please install Docker.', file=sys.stderr) print('Please install Docker.', file=sys.stderr)