Feature request: --build-dir
flag to change the build directory
#242
Labels
enhancement
New feature or request
--build-dir
flag to change the build directory
#242
This is because when using docker to build an AppImage for Mu, if we mount the Mu repository from the host (in my case macOS) as a volume inside the docker container (so that it can be build using
docker run...
commands), it fails to build the AppImage.To illustrate the issue:
The pup output is:
However, by changing the build directory set in this file, to a different path not monted from the host (for example from
build
to/build
), and running the same steps in a container bash session works.(And just to double check, running the original unmodified steps in a docker container bash session does fail the same way).
pup/src/pup/plugins/dirs.py
Lines 8 to 11 in 55bf81d
I'm not 100% what the issue might be, but I woudn't be surprised if AppImageBuildKit (or whatever the build engine is) is trying to create symlinks and that somehow fails as the thing it point to does not exist in the host OS filesystem.
So, if we could have a
--build-dir
flag (or similarly named), we could avoid this issue and add a new Makefile target in the Mu project to build an AppImage using docker.The text was updated successfully, but these errors were encountered: