sukarn
08/08/2024, 11:43 AMThis module is currently only available with the use_unstable_cli option on the GHA or using the main image.
When building locally, what does the main image here refer to? Is this tied to using only ublue-main images? I've tried using each of the following 4 images in distrobox.ini, and none of these 4 seems to have any --help option to enable use of type: copy. Building images locally seems to ignore these modules altogether.
The four images I've tried and the distrobox.ini configuration:
[bluebuild]
#image=ghcr.io/blue-build/cli:latest-alpine
#image=ghcr.io/blue-build/cli:latest
#image=ghcr.io/blue-build/cli:main-alpine
image=ghcr.io/blue-build/cli:main
home="~/distrobox/bluebuild"
additional_packages=""
init=false
nvidia=false
pull=true
root=false
replace=true
start_now=false
exported_apps=""
exported_bins="/usr/bin/bluebuild"Answer Overflow
08/08/2024, 11:43 AMxyny
08/08/2024, 12:31 PMxyny
08/08/2024, 12:32 PMxyny
08/08/2024, 12:32 PMxyny
08/08/2024, 12:33 PMxyny
08/08/2024, 12:33 PMsukarn
08/08/2024, 12:37 PMbluebuild --version inside and outside the distrobox, and they reported different versions. Using whereis bluebuild on the host showed that for some reason, I have /usr/bin/bluebuild built into the host os, even though I don't see any instructions in my build recipes, files and scripts to install bluebuild to the host image. Not sure where and how this snuck in.
As a result, /usr/bin/bluebuild has been taking precedence over ~/.local/bin/bluebuild from the distrobox. Now that I know I have to explicitly call ~/.local/bin/bluebuild I just have to figure out the next step: dealing with the docker socket error: ERROR: failed to initialize builder bluebuild (bluebuild0): Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I'm trying to figure that one out now.xyny
08/08/2024, 12:38 PMxyny
08/08/2024, 12:38 PMsukarn
08/08/2024, 12:39 PM--build-driver podman now.xyny
08/08/2024, 12:39 PMsukarn
08/08/2024, 12:40 PMecho $PATH for this running user shows: /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/home/sukarn/.local/bin:/var/home/sukarn/.local/bin
So /usr/local/bin was taking precedence.sukarn
08/08/2024, 12:40 PMsukarn
08/08/2024, 12:40 PMxyny
08/08/2024, 12:41 PMxyny
08/08/2024, 12:41 PMsukarn
08/08/2024, 12:43 PMdistrobox-enter bluebuild
2. distrobox-export --bin /usr/bin/bluebuild
Mine is doing it automatically using distrobox-assemble (using the distrobox.ini file above). I run the command distrobox-assemble create --file ~/path/to/distrobox.ini --name bluebuild and it destroys the previous one, creates the new distrobox, and then exports the bin to ~/.local/bin/bluebuildsukarn
08/08/2024, 12:45 PMtree /tmp in the recipe so that I can figure out what files exist and their names and directory structure after using the copy function, so that I then install the right .rpm in the recipe.