From f9ab09f3dee43f6256f466c9c9f41f3bc6646c56 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 28 Nov 2018 17:33:32 -0800 Subject: [PATCH] snapcraft --- Makefile | 4 +++- snapcraft.yaml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 922db2a8..25195d4a 100644 --- a/Makefile +++ b/Makefile @@ -283,7 +283,9 @@ travis-build: curl -H "Content-Type: application/json" --data '{"docker_tag": "latest"}' -X POST $(DOCKER) snapcraft: - docker run --rm -v "$PWD":/build -w /build snapcore/snapcraft bash -c "apt update && snapcraft" + snapcraft --target-arch=amd64 + snapcraft --target-arch=arm64 + snapcraft --target-arch=i386 # install xgo and pull the xgo docker image xgo-install: clean diff --git a/snapcraft.yaml b/snapcraft.yaml index ee27461e..e2a5e970 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -7,6 +7,10 @@ description: > status page with tons of features for you to build an even better status page. This Status Page generator allows you to use MySQL, Postgres, or SQLite on multiple operating systems. +architectures: + - amd64 + - arm64 + - i386 type: app confinement: strict