Add the packaging metadata to build the minio snap (#4749)

* Add the packaging metadata to build the minio snap.
This commit is contained in:
Leo Arias 2017-08-10 10:39:30 -06:00 committed by Dee Koder
parent b3b42c72a9
commit 3ff09b9b72

26
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,26 @@
name: minio
version: git
summary: open source object storage server compatible with Amazon S3 APIs
description: |
Minio is an object storage server released under Apache License v2.0. It is
compatible with Amazon S3 cloud storage service. It is best suited for
storing unstructured data such as photos, videos, log files, backups and
container / VM images. Size of an object can range from a few KBs to a
maximum of 5TB.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict
apps:
minio:
command: minio
plugs: [home, removable-media, network, network-bind]
parts:
minio:
source: .
plugin: go
go-importpath: github.com/minio/minio
after: [go]
go:
source-tag: go1.8.3