Skip to content

Commit

Permalink
updated readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KalanaRatnayake committed Aug 6, 2024
1 parent be09442 commit 54b8135
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 33 deletions.
43 changes: 38 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ This repository contains dockerfiles for base images for Jetson Nano and Jetson
| jetson-ros | humble-base-r32.7.1 | 1.76 GB | <ul><li> - [x] </li></ul> | |
| jetson-ros | humble-base-r36.3.0 | 1.76 GB | | <ul><li> - [x] </li></ul> |
| jetson-pytorch | 1.13-r32.7.1 | 1.83 GB | <ul><li> - [x] </li></ul> | |
| jetson-pytorch | 2.4-r32.7.1 | 1.83 GB | <ul><li> - [x] </li></ul> | |
| jetson-ros-pytorch | 1.13-humble-core-r32.7.1 | 3.05 GB | <ul><li> - [x] </li></ul> | |
| jetson-pytorch | r36.3.0 | 1.83 GB | | <ul><li> - [x] </li></ul> |
| jetson-ros-pytorch | 1.13-humble-core-r32.7.1 | 3.05 GB | <ul><li> - [x] </li></ul> | |
| jetson-ros-pytorch | humble-core-r36.3.0 | 3.05 GB | | <ul><li> - [x] </li></ul> |


| Image | Tag | Content |
Expand All @@ -29,11 +29,13 @@ This repository contains dockerfiles for base images for Jetson Nano and Jetson
| l4t-cuda | 12.2.12-devel | `l4t-base:r36.2.0` + CUDA 12.2, GCC-11, G++-11, build-essentials |
| l4t-cuda | 12.2.12-runtime | `l4t-base:r36.2.0` + CUDA 12.2, GCC-11, G++-11, build-essentials |
| jetson-ros | humble-core-r32.7.1 | `jetson-base:r32.7.1` + [ROS Humble Core](https://www.ros.org/reps/rep-2001.html#id23) |
| jetson-ros | humble-core-r36.2.0 | `l4t-base:r36.2.0` + [ROS Humble Core](https://www.ros.org/reps/rep-2001.html#id23) |
| jetson-ros | humble-core-r36.3.0 | `l4t-base:r36.2.0` + [ROS Humble Core](https://www.ros.org/reps/rep-2001.html#id23) |
| jetson-ros | humble-base-r32.7.1 | `jetson-base:r32.7.1` + [ROS Humble Base](https://www.ros.org/reps/rep-2001.html#id24) |
| jetson-ros | humble-base-r36.2.0 | `l4t-base:r36.2.0` + [ROS Humble Base](https://www.ros.org/reps/rep-2001.html#id24) |
| jetson-pytorch | 1.13-r32.7.1 | `jetson-base:r32.7.1` + PyTorch 1.13.0, TorchVision 0.14.0 |
| jetson-ros | humble-base-r36.3.0 | `l4t-base:r36.2.0` + [ROS Humble Base](https://www.ros.org/reps/rep-2001.html#id24) |
| jetson-pytorch | 1.13-r32.7.1 | `jetson-base:r32.7.1` + PyTorch 1.13.0, TorchVision 0.14.0 |
| jetson-pytorch | r36.3.0 | `l4t-base:r36.2.0` + PyTorch 2.4.0, TorchVision 0.19.0, TorchAudio 2.4.0 |
| jetson-ros-pytorch | 1.13-humble-core-r32.7.1 | `jetson-ros:humble-core-r32.7.1` + PyTorch 1.13.0, TorchVision 0.14.0 |
| jetson-ros-pytorch | humble-core-r36.3.0 | `jetson-ros:humble-core-r36.3.0` + PyTorch 2.4.0, TorchVision 0.19.0, TorchAudio 2.4.0 |


> build essential package for ubuntu 20.04 includes g++-9, gcc-9, make, dpkg-dev, libc6-dev \
Expand Down Expand Up @@ -108,6 +110,22 @@ FROM ghcr.io/kalanaratnayake/jetson-ros:humble-base-r32.7.1
```
[Installation, Testing and local build instructions for jetson-ros:humble-base-r32.7.1](ros-images/r3271.humble_base.md)

#### jetson-ros:humble-core-r36.3.0

```docker
FROM ghcr.io/kalanaratnayake/jetson-ros:humble-core-r36.3.0
```
[Installation, Testing and local build instructions for jetson-ros:humble-core-r36.3.0](ros-images/r3630.humble_core.md)


#### jetson-ros:humble-base-r36.3.0

```docker
FROM ghcr.io/kalanaratnayake/jetson-ros:humble-base-r36.3.0
```
[Installation, Testing and local build instructions for jetson-ros:humble-base-r36.3.0](ros-images/r3630.humble_base.md)


<br>

### 4. Jetson Pytorch
Expand All @@ -119,6 +137,14 @@ FROM ghcr.io/kalanaratnayake/jetson-pytorch:1.13-r32.7.1
```
[Installation, Testing and local build instructions for jetson-pytorch:1.13-r32.7.1](pytorch-images/r3271.113.md)

#### jetson-pytorch:r36.3.0

```docker
FROM ghcr.io/kalanaratnayake/jetson-pytorch:r36.3.0
```
[Installation, Testing and local build instructions for jetson-pytorch:r36.3.0](pytorch-images/r3630.md)


<br>

### 4. Jetson ROS Pytorch
Expand All @@ -130,4 +156,11 @@ FROM ghcr.io/kalanaratnayake/jetson-ros-pytorch:1.13-humble-core-r32.7.1
```
[Installation, Testing and local build instructions for jetson-ros-pytorch:1.13-humble-core-r32.7.1](ros-pytorch-images/r3271.humblecore_pytorch113.md)

#### jetson-ros-pytorch:humble-core-r36.3.0

```docker
FROM ghcr.io/kalanaratnayake/jetson-ros-pytorch:humble-core-r36.3.0
```
[Installation, Testing and local build instructions for jetson-ros-pytorch:humble-core-r36.3.0](ros-pytorch-images/r3630.humblecore_pytorch.md)

<br>
6 changes: 3 additions & 3 deletions pytorch-images/r3630.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

Pull the docker container
```bash
docker pull ghcr.io/kalanaratnayake/jetson-pytorch:2.4-r36.3.0
docker pull ghcr.io/kalanaratnayake/jetson-pytorch:r36.3.0
```

Build the docker container
```bash
docker buildx build --load --platform linux/arm64 -f pytorch-images/r3630.204.Dockerfile -t jetson-pytorch:2.4-r36.3.0 .
docker buildx build --load --platform linux/arm64 -f pytorch-images/r3630.Dockerfile -t jetson-pytorch:r36.3.0 .
```

### Start

Start the docker container

```bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/jetson-pytorch:2.4-r36.3.0 bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/jetson-pytorch:r36.3.0 bash
```

### Test
Expand Down
11 changes: 0 additions & 11 deletions ros-images/r3630.humble_base.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ Build the docker container
docker buildx build --load --platform linux/arm64 -f ros-images/r3630.humble_base.Dockerfile -t jetson-ros:humble-base-r36.3.0 .
```

or build with cache locally and push when image compilation can be slow on github actions and exceeds 6rs

```bash
docker buildx build --push \
--platform linux/arm64 \
--cache-from=type=registry,ref=ghcr.io/kalanaratnayake/jetson-ros:humble-ros-base-r36.3.0-buildcache \
--cache-to=type=registry,ref=ghcr.io/kalanaratnayake/jetson-ros:humble-ros-base-r36.3.0-buildcache,mode=max \
-f ros-images/r3630.humble_base.Dockerfile \
-t ghcr.io/kalanaratnayake/jetson-ros:humble-base-r36.3.0 .
```

### Start

Start the docker container
Expand Down
11 changes: 0 additions & 11 deletions ros-images/r3630.humble_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ Build the docker container
docker buildx build --load --platform linux/arm64 -f ros-images/r3630.humble_core.Dockerfile -t jetson-ros:humble-core-r36.3.0 .
```

or build with cache locally and push when image compilation can be slow on github actions and exceeds 6rs

```bash
docker buildx build --push \
--platform linux/arm64 \
--cache-from=type=registry,ref=ghcr.io/kalanaratnayake/jetson-ros:humble-ros-core-r36.3.0-buildcache \
--cache-to=type=registry,ref=ghcr.io/kalanaratnayake/jetson-ros:humble-ros-core-r36.3.0-buildcache,mode=max \
-f ros-images/r3630.humble_core.Dockerfile \
-t ghcr.io/kalanaratnayake/jetson-ros:humble-core-r36.3.0 .
```

### Start

Start the docker container
Expand Down
6 changes: 3 additions & 3 deletions ros-pytorch-images/r3630.humblecore_pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

Pull the docker container
```bash
docker pull ghcr.io/kalanaratnayake/jetson-ros-pytorch:2.4-humble-core-r36.3.0
docker pull ghcr.io/kalanaratnayake/jetson-ros-pytorch:humble-core-r36.3.0
```

Build the docker container
```bash
docker buildx build --load --platform linux/arm64 -f ros-pytorch-images/r3630.humblecore_pytorch204.Dockerfile -t jetson-ros-pytorch:2.4-humble-core-r36.3.0 .
docker buildx build --load --platform linux/arm64 -f ros-pytorch-images/r3630.humblecore_pytorch.Dockerfile -t jetson-ros-pytorch:humble-core-r36.3.0 .
```

### Start

Start the docker container

```bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/jetson-ros-pytorch:2.4-humble-core-r36.3.0 bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/jetson-ros-pytorch:humble-core-r36.3.0 bash
```

### Test
Expand Down

0 comments on commit 54b8135

Please sign in to comment.