We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Git clone in init_hook doesn't work with assemble. Container never starts.
To Reproduce Run distrobox assemble create.
distrobox assemble create
distrobox.ini
[arch] image=quay.io/toolbx/arch-toolbox:latest pull=true replace=true start_now=true additional_packages="git base-devel" init_hooks=pacman -S --needed git base-devel; init_hooks=git clone https://aur.archlinux.org/yay-bin.git; init_hooks=cd yay-bin && makepkg -si; init_hooks=ln -s /usr/bin/distrobox-host-exec /usr/local/bin/docker
Expected behavior Container starts.
Logs Run the commands with --verbose and post the log here as a file upload distrobox_assemble_create_--verbose.txt
--verbose
Attach also the output of podman logs or docker logs, possibly with --latest flag podman_logs_--latest.txt
podman logs
docker logs
--latest
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
yay cannot run as root
yay
so what you can do is to run it with sudo as your user:
sudo
init_hooks=sudo -u your-user-name sh -c "cd yay-bin && makepkg -si"
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Git clone in init_hook doesn't work with assemble. Container never starts.
To Reproduce
Run
distrobox assemble create
.distrobox.ini
Expected behavior
Container starts.
Logs
Run the commands with
--verbose
and post the log here as a file uploaddistrobox_assemble_create_--verbose.txt
Attach also the output of
podman logs
ordocker logs
, possibly with--latest
flagpodman_logs_--latest.txt
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: