use classic confinement for snapcraft

This commit is contained in:
Jesse Duffield 2019-07-04 21:53:10 +10:00
parent b002816e05
commit 42a3805b0f

View file

@ -114,22 +114,22 @@ snapcrafts:
# permissions for strict snaps can be declared as `plugs` for the app, which # permissions for strict snaps can be declared as `plugs` for the app, which
# are explained later. More info about confinement here: # are explained later. More info about confinement here:
# https://snapcraft.io/docs/reference/confinement # https://snapcraft.io/docs/reference/confinement
confinement: strict confinement: classic
# Your app's license, based on SPDX license expressions: https://spdx.org/licenses # Your app's license, based on SPDX license expressions: https://spdx.org/licenses
# Default is empty. # Default is empty.
license: MIT license: MIT
# Each binary built by GoReleaser is an app inside the snap. In this section # # Each binary built by GoReleaser is an app inside the snap. In this section
# you can declare extra details for those binaries. It is optional. # # you can declare extra details for those binaries. It is optional.
apps: # apps:
# The name of the app must be the same name as the binary built or the snapcraft name. # # The name of the app must be the same name as the binary built or the snapcraft name.
lazydocker: # lazydocker:
# If your app requires extra permissions to work outside of its default # # If your app requires extra permissions to work outside of its default
# confined space, declare them here. # # confined space, declare them here.
# You can read the documentation about the available plugs and the # # You can read the documentation about the available plugs and the
# things they allow: # # things they allow:
# https://snapcraft.io/docs/reference/interfaces. # # https://snapcraft.io/docs/reference/interfaces.
plugs: ["home", "network", "docker", "docker-support"] # plugs: []