I guess snap is the culprit
it is also building just fine on windows.
Incase anyone else is building on windows. The command to export apps.json to base64 in PowerShell is below (if frappe_docker is in documents director)
$APPS_JSON_BASE64 = [Convert]::ToBase64String([IO.File]::ReadAllBytes("Documents/frappe_docker/apps.json"))```