mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: docker: Replace tini by tini-static.
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'.
This commit is contained in:
parent
352f23f71c
commit
e35383a76f
1 changed files with 2 additions and 2 deletions
|
@ -382,12 +382,12 @@ (define-public docker
|
|||
(("DefaultInitBinary = .*")
|
||||
(string-append "DefaultInitBinary = \""
|
||||
(assoc-ref inputs "tini")
|
||||
"/bin/tini\"\n")))
|
||||
"/bin/tini-static\"\n")))
|
||||
(substitute* "daemon/config/config_common_unix_test.go"
|
||||
(("expectedInitPath: \"docker-init\"")
|
||||
(string-append "expectedInitPath: \""
|
||||
(assoc-ref inputs "tini")
|
||||
"/bin/tini\"")))
|
||||
"/bin/tini-static\"")))
|
||||
(substitute* "vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go"
|
||||
(("var defaultCommandCandidates = .*")
|
||||
(string-append "var defaultCommandCandidates = []string{\""
|
||||
|
|
Loading…
Reference in a new issue