Balena_Docker_template_error

The dockerfile template we have used previously is 32.4.4. When using this template we receive an error. Attached the error in the text file for your reference.

Do we have any dockerfile template for 32.7.1. We are trying to use it with Jetson AGX Xavier kit.
Balena_Docker_template_error.txt (217.7 KB)

Hey there, welcome to the forums.

Firstly, it would probably be helpful for future debugging if you could share your Dockerfile as well as the logs.

However from the logs, I’m going to take a guess that the filenames in your command aren’t correct. I expect that the commands are case sensitive. It looks like the downloaded file is called jetson_linux_r32.7.1_aarch64.tbz2 but the command uses Jetson_Linux_R32.7.1_aarch64.tbz2 - notice the difference in capital letters.

Give this a try and let us know if that helps, but otherwise please share your Dockerfile and we’ll take another look.

Also, let us know where you got the original template, maybe we can update the original source if it’s something we provided. :slight_smile:

Hey, thank you for your suggestion!!

The case sensitive is found in the URL for downloading the respective file. We have tried it separately and we were able to download it.

Attaching the docker template for your reference.
Dockerfile.template.txt (2 KB)

It would be great if you could help us to resolve the issue.

Look forward to hearing from you.

Hi

I would try to separate the commands and even comment out the later ones during test build so it will be easier to troubleshoot. Once you are sure each command works, put it back together with &&:

RUN apt-get update && apt-get install -y --no-install-recommends lbzip2 wget tar
WORKDIR /tmp/
RUN wget https://developer.nvidia.com/embedded/l4t/r32_release_v7.1/t186/jetson_linux_r32.7.1_aarch64.tbz2
RUN tar xf jetson_linux_r32.7.1_aarch64.tbz2
RUN rm jetson_linux_r32.7.1_aarch64.tbz2

Does this exist?
WORKDIR /tmp/Linux_for_Tegra