# Where Mender download the artifact payload

**URL:** <https://hub.mender.io/t/where-mender-download-the-artifact-payload/4501>\
**Category:** General Discussions\
**Created:** [January 19, 2022, 10:35am UTC](https://hub.mender.io/t/where-mender-download-the-artifact-payload/4501 "2022-01-19T10:35:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicoCaldo](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/nicocaldo/32/1409_2.png) [@NicoCaldo](https://hub.mender.io/u/NicoCaldo)\
**Post date:** [January 19, 2022, 10:35am UTC](https://hub.mender.io/t/where-mender-download-the-artifact-payload/4501/1 "2022-01-19T10:35:32Z")

</div>

Hi,  
I’m trying to create my own update module which will download some sort of binary Python file and build them into a Docker container.

I would like to add all my binary into the artifact payload. My idea was to group them into a .tar file, add it on the artifact payload and then download them into my Raspberry Pi 4, decompress from the .tar file and build it.

Now, from what I’ve understood from the [documentation](https://docs.mender.io/artifact-creation/create-an-artifact) to add file to the payload of an artifact I’ve to use the `-f` flag

When the artifact is uploaded to Mender and then the update has been launched on the Raspberry, where will the payload be downloaded during the download phase? I need to know the location so I’m able to run the `docker build` command to create the updated image
