From 88652c3d12058dd78326381e59c61fc8709551ab Mon Sep 17 00:00:00 2001 From: Patrick Eigensatz Date: Mon, 21 Oct 2019 11:11:01 +0200 Subject: [PATCH] Packaging: Snap: Try to run snap process on dockered Arch Issue #37 --- packaging/snap/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packaging/snap/Makefile b/packaging/snap/Makefile index ce7e392..035e3f1 100644 --- a/packaging/snap/Makefile +++ b/packaging/snap/Makefile @@ -1,13 +1,14 @@ all: - docker run --rm -id --workdir=/snap --name=qjournalctl-snap --volume=$(realpath .):/out ubuntu + docker run --rm -id --workdir=/snap --name=qjournalctl-snap --volume=$(realpath .):/out archlinux/base touch qjournalctl_0.6_amd64.snap - docker exec -i qjournalctl-snap apt-get update - docker exec -i qjournalctl-snap apt-get -y install snapd snapcraft + docker exec -i qjournalctl-snap pacman -Syy + docker exec -i qjournalctl-snap pacman -S git + docker exec -i qjournalctl-snap git clone https://aur.archlinux.org/yay.gitcd yay + docker exec -i qjournalctl-snap bash -c "cd yay ; makepkg -si" docker cp snapcraft.yaml qjournalctl-snap:/snap/ docker exec -i qjournalctl-snap snapcraft docker exec -i qjournalctl-snap bash -c 'cp /snap/*.snap /out' docker stop qjournalctl-snap -