Reputation: 2204
Multiple Questions have been asked, but neither the solutions nor the suggestions work for me. I am using the manjarolinux docker. The image installs most of the stuff in the dockerfile:
FROM manjarolinux/base
RUN pacman-mirrors -g
RUN pacman -Syy
RUN rm -fr /etc/pacman.d/gnupg
RUN pacman-key --init
RUN pacman-key --populate archlinux
RUN pacman-key --populate manjaro
# RUN pacman-key --refresh-keys
RUN pacman -Syyu --noconfirm
RUN pacman -S --noconfirm gnupg
RUN pacman -Fyy --noconfirm
RUN pacman -Sy --noconfirm vim git gzip yay # this line
RUN pacman -Sy --noconfirm sudo fakeroot make
RUN pacman -Sy --noconfirm gcc clang
RUN groupadd sudo wheel
RUN useradd -m -d /home/manjarouser -s /bin/zsh -g sudo wheel manjarouser
USER manjarouser
However, after the line marked with this line
, the build simply freezes:
Upvotes: 0
Views: 1326
Reputation: 151
@d4rk4ng31, my Archlinux custom docker container was doing the same thing in my build process. I was not able to pinpoint the exact reason, but it comes from a post-transaction hook in systemd
(/usr/bin/systemd-tmpfiles --create). If you were to launch a basic container with docker run -it --rm manjarolinux/base bash
and run that command, it would hang your container.
In my case, it was because I was using archlinux/base
, which is now deprecated. Simply changing to the following fixed my issue:
FROM archlinux
I would verify if there is a similar deprecation issue going on with Manjaro.
Upvotes: 1