# Balena\_Docker\_template\_error

**URL:** <https://forums.balena.io/t/balena-docker-template-error/365247>\
**Category:** balenaOS\
**Created:** [October 27, 2022, 12:09pm UTC](https://forums.balena.io/t/balena-docker-template-error/365247 "2022-10-27T12:09:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parthiban](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@Parthiban](https://forums.balena.io/u/Parthiban)\
**Post date:** [October 27, 2022, 12:09pm UTC](https://forums.balena.io/t/balena-docker-template-error/365247/1 "2022-10-27T12:09:46Z")

</div>

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](https://forums.balena.io/uploads/short-url/q0H8fwuuikdt8vMWqTc8NmRgUnj.txt) (217.7 KB)

---

<div class="post-metadata">

**Author:** ![chrisys](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/chrisys/32/1731_2.png) [@chrisys](https://forums.balena.io/u/chrisys)\
**Post date:** [October 27, 2022, 9:29pm UTC](https://forums.balena.io/t/balena-docker-template-error/365247/2 "2022-10-27T21:29:31Z")

</div>

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. 🙂

---

<div class="post-metadata">

**Author:** ![Parthiban](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@Parthiban](https://forums.balena.io/u/Parthiban)\
**Post date:** [October 28, 2022, 6:39am UTC](https://forums.balena.io/t/balena-docker-template-error/365247/4 "2022-10-28T06:39:39Z")

</div>

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](https://forums.balena.io/uploads/short-url/3dlTyXlo76iOb8bTnBNDY0v9DAU.txt) (2 KB)

---

<div class="post-metadata">

**Author:** ![Parthiban](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@Parthiban](https://forums.balena.io/u/Parthiban)\
**Post date:** [November 2, 2022, 12:47pm UTC](https://forums.balena.io/t/balena-docker-template-error/365247/5 "2022-11-02T12:47:22Z")

</div>

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

Look forward to hearing from you.

---

<div class="post-metadata">

**Author:** ![zoobot](https://avatars.discourse-cdn.com/v4/letter/z/3e96dc/32.png) [@zoobot](https://forums.balena.io/u/zoobot)\
**Post date:** [November 2, 2022, 8:37pm UTC](https://forums.balena.io/t/balena-docker-template-error/365247/6 "2022-11-02T20:37:18Z")

</div>

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](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
