|
1 |
| -# nerc-images-template |
| 1 | +# vscode-rust |
2 | 2 |
|
3 |
| -An OpenShift AI Image for ... |
| 3 | +An OpenShift AI Image running VSCode for Rust development. |
| 4 | +- Based on the [Evcxr project](https://github.com/evcxr/evcxr) |
| 5 | +on GitHub for Jupyter Lab Notebook integration. |
| 6 | +- Uses Rust 1.79. |
| 7 | +- Used by Professor Leonidas Kontothanassis, MassMutual Professor of the |
| 8 | +Practice of Computing & Data Sciences + Director of Industry Engagement. |
4 | 9 |
|
5 |
| -Base image: [quay.io/...](https://github.com/...) |
| 10 | +Base image: [quay.io/opendatahub-contrib/workbench-images:vscode-datascience-c9s-py311_2023c_latest](https://github.com/opendatahub-io-contrib/workbench-images) |
6 | 11 |
|
7 |
| -| Python packages | Description | |
| 12 | +| Cargo packages | Description | |
8 | 13 | | --- | --- |
|
9 |
| -| jupyterlab | A web-based user interface to work with Jupyter notebooks, editors, terminals, and custom components | |
| 14 | +| evcxr_jupyter | An evaluation context for Rust. | |
10 | 15 |
|
11 | 16 | | System packages | Description |
|
12 | 17 | | --- | --- |
|
13 |
| -| something | ... | |
| 18 | +| cargo | Rust's package manager and build tool. | |
14 | 19 |
|
15 |
| -You can pull the latest [nerc-images-template container image](https://github.com/nerc-images/nerc-images-template/pkgs/container/nerc-images-template) below: |
| 20 | +You can pull the latest [vscode-rust container image](https://github.com/nerc-images/vscode-rust/pkgs/container/vscode-rust) below: |
16 | 21 |
|
17 | 22 | ```
|
18 |
| -podman pull quay.io/nerc-images/nerc-images-template:latest |
| 23 | +podman pull quay.io/nerc-images/vscode-rust:latest |
19 | 24 | ```
|
20 | 25 |
|
21 |
| -You can build the container like this: |
| 26 | +Here is how to build the container image: |
22 | 27 |
|
23 | 28 | ```bash
|
24 |
| -podman build -t nerc-images/nerc-images-template:latest . |
| 29 | +podman build -t nerc-images/vscode-rust:latest . |
25 | 30 | ```
|
26 | 31 |
|
27 |
| -You can run the container like this: |
| 32 | +Here is how to run the container image: |
28 | 33 |
|
29 | 34 | ```bash
|
30 |
| -podman run --rm -it --entrypoint /bin/bash nerc-images/nerc-images-template:latest |
| 35 | +podman run --rm -it --entrypoint /bin/bash nerc-images/vscode-rust:latest |
31 | 36 | ```
|
32 |
| - |
33 |
| -You can push the container to quay.io like this: |
34 |
| - |
35 |
| -```bash |
36 |
| -podman push nerc-images/nerc-images-template:latest quay.io/nerc-images/nerc-images-template:latest |
37 |
| -``` |
38 |
| - |
0 commit comments