# Building balenaOs Image for raspberry pi 4 failed

**URL:** <https://forums.balena.io/t/building-balenaos-image-for-raspberry-pi-4-failed/295681>\
**Category:** balenaOS\
**Tags:** raspberrypi4\
**Created:** [April 17, 2021, 6:34am UTC](https://forums.balena.io/t/building-balenaos-image-for-raspberry-pi-4-failed/295681 "2021-04-17T06:34:07Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [April 20, 2021, 4:06pm UTC](https://forums.balena.io/t/building-balenaos-image-for-raspberry-pi-4-failed/295681/8 "2021-04-20T16:06:13Z")

</div>

Hey @codingecho, a number of us are using Ubuntu 18.04 for building and haven’t experienced these errors. Have you tried a fresh checkout in a clean workspace, or in a new Ubuntu virtual machine?

There are also non-official docker containers to build balenaOS in Docker, like [GitHub - alexgg/docker-balena: A balena OS docker image builder](https://github.com/alexgg/docker-balena). It’s not well documented as we are planning to improve the build process with containers in future releases of balenaOS.

---

_[View the full topic](https://forums.balena.io/t/building-balenaos-image-for-raspberry-pi-4-failed/295681)._
