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
/Cargo.lock
.vagrant
*.swp
*.swo
.DS_Store

5
dev
View File

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