* gnu/packages/docker.scm (docker)[arguments]: Rewrite as gexps. Switch
to using search-input-file.
[inputs]: Use new style inputs.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/docker.scm (containerd)[arguments]: Rewrite as gexps.
Pass all flags via make-flags variable. Switch to using
search-input-file.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/docker.scm (containerd): Update to 1.6.6.
[arguments]: Substitute runc binary for "pkg/cri/config/config_unix.go". Set
PREFIX to empty string, as the install directory is $DESTDIR/$PREFIX.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Build all Go packages with go-1.17 by default. Explicitly specify an
older Go version in packages which cannot build with go-1.17.
* gnu/packages/golang.scm (go): Update from 'go-1.14' to 'go-1.17'.
* gnu/packages/docker.scm (docker)[native-inputs]: Explicitly use 'go-1.14'.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)[arguments]:
Explicitly use Go 1.16.
(go-ipfs)[arguments]: Use the default version of Go.
* gnu/packages/syncthing.scm (syncthing)[arguments]: Likewise.
* gnu/packages/admin.scm (runitor)[arguments]: Likewise.
Signed-off-by: Leo Famulari <leo@famulari.name>
The dynamically linked tini could fail in some environments, causing 'docker
run' to exit with the following unhelpful error message:
standard_init_linux.go:219: exec user process caused: no such file or
directory
Use the statically linked tini binary instead, which should work everywhere.
* gnu/packages/docker.scm (docker)[phases]{patch-paths}: Replace 'tini' by
'tini-static'.
* gnu/packages/docker.scm (tini): Update to 0.19.0. Remove trailing #t.
[phases]: Remove argument.
[configure-flags]: New argument, to clear the CMAKE_INSTALL_RPATH option.
* gnu/packages/docker.scm (containerd): Update to 1.4.4. Delete
trailing #t.
[arguments]: Set a MAKE-FLAGS binding.
[phases]{patch-paths}: Patch the reference to 'unpigz'.
{build, install}: Use the MAKE-FLAGS variable.
[inputs]: Add pigz.
* gnu/packages/patches/containerd-test-with-go1.13.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Un-register it.
This is a follow-up to commit 83cda00bc6.
* gnu/packages/docker.scm (docker-cli): Fix source hash caused by cascading
%docker-version variable changes.
* gnu/packages/docker.scm (%docker-version): Bump to 19.03.15.
(docker-libnetwork): Bump to 19.03-1.55e924b.
(docker):
[source]: Set git-reference url to 'https://github.com/moby/moby'.
[arguments]<#:phases>: Modify 'delete-failing-tests phase to delete
'signal_linux_test.go'.
This fixes breaks the 'install-license-files' phase added in
6b793fa662 and is generally not good
practice.
* gnu/packages/docker.scm (containerd): [arguments]: Use
'with-directory-excursion' instead of 'chdir' in build phases.
This is a follow-up to 6b793fa662.
* gnu/packages/docker.scm (docker-cli)[arguments]: In custom 'install
phase don't change directory to install 'docker' binary.
Fixes <https://bugs.gnu.org/40368>.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.
* gnu/packages/docker.scm (docker)[configure]: Provide version string.
[install]: Install versioned binary.
* gnu/packages/patches/docker-adjust-tests-for-changes-in-go.patch: New file.
* gnu/local.mk (dist_patch_DATA): Use this.
* gnu/packages/docker.scm (docker): Use this.