From e70101261782d9ec3d4f9d7e51c5e656e231c1cb Mon Sep 17 00:00:00 2001 From: Danny Guo Date: Wed, 11 Oct 2017 12:03:09 -0400 Subject: [PATCH] Use the official Docker image for Rust --- .gitignore | 4 ++-- dev | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 3a612b5..41ddad1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /target /Cargo.lock -.vagrant *.swp - +*.swo +.DS_Store diff --git a/dev b/dev index 0e32354..6588873 100755 --- a/dev +++ b/dev @@ -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) -