aboutsummaryrefslogtreecommitdiff
path: root/contrib/snapcraft/snap/snapcraft.yaml
blob: 7ff0df03bcf0bc901b82eff44c332d2b1f079c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: podman # you probably want to 'snapcraft register <name>'
version: '0.11.1.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Manage pods, containers and container images
description: |
  `podman` is a tool for managing Pods, Containers, and Container Images
  in multiple formats including Docker/OSI images. It exposes the same
  command line interface as Docker, but runs containers unprivileged by
  default.

confinement: devmode # use 'strict' once you have the right plugs and slots

base: core18

parts:
  podman:
    plugin: go
    source: https://github.com/containers/libpod/archive/v0.11.1.1.tar.gz
    go-importpath: github.com/containers/libpod
    build-packages:
     # https://github.com/containers/libpod/blob/master/install.md#build-and-run-dependencies
     - btrfs-tools
     - git
     - golang-go
     - go-md2man
     - iptables
     - libassuan-dev
     - libdevmapper-dev
     - libglib2.0-dev
     - libc6-dev
     - libgpgme11-dev
     - libgpg-error-dev
     - libostree-dev
     - libprotobuf-dev
     - libprotobuf-c0-dev
     - libseccomp-dev
     - libselinux1-dev
     - pkg-config
    stage-packages:
     - libarchive13
     - libassuan0
     - libgpgme11
     - libicu60
     - libostree-1-1
     - libsoup2.4-1
     - libxml2