Runtime installation in Docker container

Alexander Larsson alexl at redhat.com
Mon Aug 22 09:45:04 UTC 2016


On sön, 2016-08-21 at 19:51 +0200, Michael Hofer wrote:
> Hi
> 
> I'm currently trying to create a Docker container to test my Flatpak
> builds on
> Travis but it fails when installing the Gnome SDK runtime:
> 
> Step 7 : RUN flatpak install gnome org.gnome.Platform 3.20
>  ---> Using cache
>  ---> 11e202977aff
> Step 8 : RUN flatpak install gnome org.gnome.Sdk 3.20
>  ---> Running in 9a8980a6f20a
> error: While trying to checkout
> bf5b9df3e10e269bf71a130ee9cb1038c33fb665fc2c1568116ce159e254141d
> into /var/lib/flatpak/runtime/org.gnome.Sdk/x86_64/3.20/
> .bf5b9df3e10e269bf71a130ee9cb1038c33fb665fc2c1568116ce159e254141d-
> EFJBMY:
> No data available
> The command '/bin/sh -c flatpak install gnome org.gnome.Sdk 3.20'
> returned a
> non-zero code: 1
> 
> 
> I've also tried to install manually within the container:
> 
> [root at 4284025a3d76 /]# flatpak install gnome org.gnome.Sdk 3.20 --
> verbose
> 
> 1 metadata, 0 content objects fetched; 313 B transferred in 1
> seconds                                    
> XA: No checksum specified, getting tip of
> runtime/org.gnome.Sdk/x86_64/3.20
> XA: tip resolved to:
> bf5b9df3e10e269bf71a130ee9cb1038c33fb665fc2c1568116ce159e254141d
> error: While trying to checkout
> bf5b9df3e10e269bf71a130ee9cb1038c33fb665fc2c1568116ce159e254141d
> into /var/lib/flatpak/runtime/org.gnome.Sdk/x86_64/3.20/
> .bf5b9df3e10e269bf71a130ee9cb1038c33fb665fc2c1568116ce159e254141d-
> JUBMMY:
> No data available

This is ENODATA. Its not super obvious what could return this, but one
thing that does is related to xattrs, so that may be it. Flatpak does
require xattr support in the filesystem backing the ostree repo, and
that may be problematic with dockers layering. What filesystem backend
in docker are you using?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a time-tossed playboy househusband from a doomed world. She's a 
bloodthirsty kleptomaniac pearl diver with the soul of a mighty warrior. 
They fight crime! 





More information about the xdg-app mailing list