From: Danny Milosavljevic <dannym@scratchpost.org>
To: 33893@debbugs.gnu.org
Subject: [bug#33893] [PATCH v2 1/3] gnu: Add containerd.
Date: Sat, 29 Dec 2018 02:32:43 +0100 [thread overview]
Message-ID: <20181229013245.12853-2-dannym@scratchpost.org> (raw)
In-Reply-To: <20181229013245.12853-1-dannym@scratchpost.org>
* gnu/packages/docker.scm (containerd): New variable.
---
gnu/packages/docker.scm | 49 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index c58f3f3ca..f4e676a9f 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -23,9 +23,13 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (gnu packages check)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web))
@@ -142,3 +146,48 @@ created and all the services are started as specified in the configuration.")
store API. It allows programmers to interact with a Docker registry using
Python without keeping their credentials in a Docker configuration file.")
(license license:asl2.0)))
+
+(define-public containerd
+ (package
+ (name "containerd")
+ (version "1.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containerd/containerd.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "16zn6p1ky3yrgn53z8h9wza53ch91fj47wj5xgz6w4c57j30f66p"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/containerd/containerd"
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'chdir
+ (lambda _
+ (chdir "src/github.com/containerd/containerd")
+ #t))
+ (replace 'build
+ (lambda* (#:key (make-flags '()) #:allow-other-keys)
+ (apply invoke "make" make-flags)))
+ (replace 'install
+ (lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (apply invoke "make" (string-append "DESTDIR=" out) "install"
+ make-flags)))))))
+ (inputs
+ `(("btrfs-progs" ,btrfs-progs)
+ ("libseccomp" ,libseccomp)))
+ (native-inputs
+ `(("go" ,go)
+ ("pkg-config" ,pkg-config)))
+ (synopsis "Container runtime")
+ (description "This package provides the container daemon for Docker.
+It includes image transfer and storage, container execution and supervision,
+network attachments.")
+ (home-page "http://containerd.io/")
+ (license license:asl2.0)))
next prev parent reply other threads:[~2018-12-29 1:35 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-28 10:13 [bug#33893] [PATCH 0/2] Add docker Danny Milosavljevic
2018-12-28 10:17 ` [bug#33893] [PATCH 1/2] gnu: Add docker-engine Danny Milosavljevic
2018-12-28 10:17 ` [bug#33893] [PATCH 2/2] gnu: Add docker-cli Danny Milosavljevic
2018-12-29 1:32 ` [bug#33893] [PATCH v2 0/3] Add docker Danny Milosavljevic
2018-12-29 1:32 ` Danny Milosavljevic [this message]
2018-12-29 1:32 ` [bug#33893] [PATCH v2 2/3] gnu: Add docker-engine Danny Milosavljevic
2018-12-29 1:32 ` [bug#33893] [PATCH v2 3/3] services: Add docker Danny Milosavljevic
2018-12-29 1:39 ` [bug#33893] [PATCH v3 0/4] " Danny Milosavljevic
2018-12-29 1:39 ` [bug#33893] [PATCH v3 1/4] gnu: Add containerd Danny Milosavljevic
2018-12-29 1:39 ` [bug#33893] [PATCH v3 2/4] gnu: Add docker-engine Danny Milosavljevic
2018-12-29 1:39 ` [bug#33893] [PATCH v3 3/4] services: Add docker Danny Milosavljevic
2018-12-30 9:50 ` Danny Milosavljevic
2018-12-29 1:39 ` [bug#33893] [PATCH v3 4/4] gnu: Add docker-cli Danny Milosavljevic
2018-12-30 12:17 ` [bug#33893] [PATCH v4 0/4] Add docker Danny Milosavljevic
2018-12-30 12:17 ` [bug#33893] [PATCH v4 1/4] gnu: Add containerd Danny Milosavljevic
2018-12-30 12:17 ` [bug#33893] [PATCH v4 2/4] gnu: Add docker-engine Danny Milosavljevic
2018-12-30 12:17 ` [bug#33893] [PATCH v4 3/4] services: Add docker Danny Milosavljevic
2018-12-30 12:17 ` [bug#33893] [PATCH v4 4/4] gnu: Add docker-cli Danny Milosavljevic
2018-12-30 23:38 ` [bug#33893] [PATCH v5 0/4] Add docker Danny Milosavljevic
2018-12-30 23:39 ` [bug#33893] [PATCH v5 1/4] gnu: Add containerd Danny Milosavljevic
2019-01-06 20:14 ` Ludovic Courtès
2018-12-30 23:39 ` [bug#33893] [PATCH v5 2/4] gnu: Add docker-engine Danny Milosavljevic
2019-01-06 20:20 ` Ludovic Courtès
2019-01-07 18:44 ` Danny Milosavljevic
2019-01-08 8:42 ` Ludovic Courtès
2019-01-10 2:22 ` Danny Milosavljevic
2019-01-10 8:50 ` bug#33893: " Ludovic Courtès
2019-01-10 13:15 ` [bug#33893] " Danny Milosavljevic
2019-01-10 20:31 ` Leo Famulari
2018-12-30 23:39 ` [bug#33893] [PATCH v5 3/4] services: Add docker Danny Milosavljevic
2019-01-06 20:31 ` Ludovic Courtès
2018-12-30 23:39 ` [bug#33893] [PATCH v5 4/4] gnu: Add docker-cli Danny Milosavljevic
2019-01-06 20:33 ` Ludovic Courtès
2019-01-14 3:20 ` Meiyo Peng
2019-01-15 12:34 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181229013245.12853-2-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=33893@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.