[GH-ISSUE #39] Remove yay dependency from Dockerfile #36

Closed
opened 2026-02-27 22:07:34 +03:00 by kerem · 0 comments
Owner

Originally created by @arolle on GitHub (Jun 14, 2020).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/39

At present the installation of yay seems to break a docker build. Overall yay is not used in the Dockerfile, thus it seems to be safe to skip its installation.

Step 18/39 : RUN makepkg -si --noconfirm
 ---> Running in f806b3cd0f55
==> Making package: yay 10.0.0-1 [...]
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
[...]
==> Validating source files with sha256sums...
    yay-10.0.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-10.0.0.tar.gz with bsdtar
==> Starting build()...
go build -v -mod=mod -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.yayVersion=10.0.0" -X "main.localePath=/usr/share/locale/"' -modcacherw -trimpath -o yay
[...]
github.com/Jguer/yay/v10/pkg/completion
github.com/Jguer/yay/v10
==> Entering fakeroot environment...
==> Starting package()...
msgfmt po/pt.po -o po/pt.mo
make: msgfmt: No such file or directory
make: *** [Makefile:150: po/pt.mo] Error 127
==> ERROR: A failure occurred in package().
    Aborting...
The command '/bin/sh -c makepkg -si --noconfirm' returned a non-zero code: 4
Originally created by @arolle on GitHub (Jun 14, 2020). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/39 At present the installation of `yay` seems to break a docker build. Overall `yay` is not used in the Dockerfile, thus it seems to be safe to skip its installation. ``` Step 18/39 : RUN makepkg -si --noconfirm ---> Running in f806b3cd0f55 ==> Making package: yay 10.0.0-1 [...] ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... [...] ==> Validating source files with sha256sums... yay-10.0.0.tar.gz ... Passed ==> Extracting sources... -> Extracting yay-10.0.0.tar.gz with bsdtar ==> Starting build()... go build -v -mod=mod -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.yayVersion=10.0.0" -X "main.localePath=/usr/share/locale/"' -modcacherw -trimpath -o yay [...] github.com/Jguer/yay/v10/pkg/completion github.com/Jguer/yay/v10 ==> Entering fakeroot environment... ==> Starting package()... msgfmt po/pt.po -o po/pt.mo make: msgfmt: No such file or directory make: *** [Makefile:150: po/pt.mo] Error 127 ==> ERROR: A failure occurred in package(). Aborting... The command '/bin/sh -c makepkg -si --noconfirm' returned a non-zero code: 4 ```
kerem closed this issue 2026-02-27 22:07:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#36
No description provided.