From c246f4064da0a2adefe05e52669fe5d0ddc79ebf Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 21 Apr 2023 10:22:27 +0300 Subject: [PATCH] snap: switch to a core20 base --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ea90d3b..7979ec8 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -24,7 +24,7 @@ confinement: strict # devmode or strict. devmode snaps can't be published to the # # Maybe "bare" might be a better fit in the future, but it's currently not supported in snapcraft/snapd. # "Bare" might also require serve to be compiled with CGO_ENABLED=0 and/or "netgo" + "osusergo" compile flags and/or `-extldflags "-static"` and/or more. -base: core18 +base: core20 # There currently seem to be several issues with cross compiling a snap with the go plugin. # Without this, and without "--target-arch=...", the snap will be built for the same arch the build is running on.