Updated to account for existing docker images.
This commit is contained in:
parent
3ad272c57f
commit
69644711ef
2 changed files with 16 additions and 3 deletions
|
@ -3,11 +3,10 @@
|
||||||
|
|
||||||
# Install steps
|
# Install steps
|
||||||
## Setting up Virtual Environments
|
## Setting up Virtual Environments
|
||||||
The first and most important steps are to build the docker images, as they are the boilerplate of this language server. Just run the following commands while in the **Rust-LS** directory.
|
The first and most important steps are to build the docker images, as they are the boilerplate of this language server. Just run the following commands while in the **Rust-LS** directory to download the pre-existing docker images from **git.objnull.net**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./scripts/cargo/docker.sh
|
./scripts/pull.sh
|
||||||
./scripts/rust-analyzer/docker.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
After that, you'll want to trick your system into thinking you already have both installed on your actual machine. To do that, just run the following commands:
|
After that, you'll want to trick your system into thinking you already have both installed on your actual machine. To do that, just run the following commands:
|
||||||
|
|
14
scripts/pull.sh
Executable file
14
scripts/pull.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
# Clear screen
|
||||||
|
clear
|
||||||
|
|
||||||
|
# Pulling existing images
|
||||||
|
docker pull git.objnull.net/objnull/rust-ls:cargo
|
||||||
|
docker pull git.objnull.net/objnull/rust-ls:analyzer
|
||||||
|
|
||||||
|
# Renaming images
|
||||||
|
docker tag git.objnull.net/objnull/rust-ls:cargo rust-ls:cargo
|
||||||
|
docker tag git.objnull.net/objnull/rust-ls:analyzer rust-ls:analyzer
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
docker image rm git.objnull.net/objnull/rust-ls:cargo
|
||||||
|
docker image rm git.objnull.net/objnull/rust-ls:analyzer
|
Loading…
Reference in a new issue