Dockerfile: Rebase on Flathub actions image#234
Conversation
davidmhewitt
left a comment
There was a problem hiding this comment.
Makes sense to me!
Any reason this is still in draft?
|
Thanks for review!
Because I haven't confirmed whether this really fixes the linked issue, i.e. whether the .metainfo file after |
|
You could run a shell inside the Docker container, and use the After the build, it will have exported the appstream metadata. Check the commit ID on the appstream branch with: Once you have the commit ID, check it out with Then you can check if the metadata is present in that appstream file. |
|
Thank you very much, I can confirm the generated metadata contains Just leaving a note what I did as a note. First I launched my forked Docker image: $ docker run -it --privileged --name custom-key-test -v $PWD:/workdir ghcr.io/ryonakano/flatpak-platform/runtime:8-aarch64 bashThen I run the following commands in the container: # flatpak-builder --disable-rofiles-fuse --repo=repo --install-deps-from=appcenter --force-clean builddir elementary/com.github.phase1geo.minder.yml
# COMMIT_ID=$(cat repo/refs/heads/appstream/$(uname -m))
# ostree checkout --repo repo $COMMIT_ID
# gunzip --keep $COMMIT_ID/appstream.xml.gz
# grep x-appcenter $COMMIT_ID/appstream.xml |
Fixes elementary/appcenter-reviews#644