summaryrefslogtreecommitdiff
path: root/contrib/snapcraft/snap
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-08-09 10:34:25 -0400
committerPeter Hunt <pehunt@redhat.com>2019-08-13 08:57:07 -0400
commit1ed4d1fa58ffa6222532735df20839e443aaea96 (patch)
tree621c0a5b9e1939198c8ee19e73002d145de1b1f0 /contrib/snapcraft/snap
parentec93c9d8753c1cf346fe7fee3035af1a0dcf9b55 (diff)
downloadpodman-1ed4d1fa58ffa6222532735df20839e443aaea96.tar.gz
podman-1ed4d1fa58ffa6222532735df20839e443aaea96.tar.bz2
podman-1ed4d1fa58ffa6222532735df20839e443aaea96.zip
start groundwork for adding snap
by forking https://github.com/abitrolly/podman Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'contrib/snapcraft/snap')
-rw-r--r--contrib/snapcraft/snap/snapcraft.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/contrib/snapcraft/snap/snapcraft.yaml b/contrib/snapcraft/snap/snapcraft.yaml
new file mode 100644
index 000000000..b5a753f26
--- /dev/null
+++ b/contrib/snapcraft/snap/snapcraft.yaml
@@ -0,0 +1,37 @@
+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