mirror of
https://gitee.com/openharmony/third_party_rust_strsim-rs
synced 2024-11-22 23:29:43 +00:00
Use the official Docker image for Rust
This commit is contained in:
parent
91240376c1
commit
e701012617
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
/target
|
||||
/Cargo.lock
|
||||
.vagrant
|
||||
*.swp
|
||||
|
||||
*.swo
|
||||
.DS_Store
|
||||
|
5
dev
5
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user