mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Fix build image once
Also fix build on Windows message: ``` docker: Error response from daemon: the working directory 'C:/Program Files/Git/src' is invalid, it needs to be an absolute path ```
This commit is contained in:
1 parent
d3b985c5ad
commit
9ab8040e4b
1 file changed
+4
-1
@@ -31,13 +31,16 @@ fi
|
||||
# ---------------------------------------------
|
||||
# Build the Docker image (only needed once)
|
||||
# ---------------------------------------------
|
||||
if [[ "$(docker images -q $IMAGE)" == "" ]]; then
|
||||
echo "Building Docker image..."
|
||||
docker build -t "$IMAGE" .
|
||||
fi
|
||||
|
||||
# ---------------------------------------------
|
||||
# Clean existing CMake cache to ensure toolchain reload
|
||||
# ---------------------------------------------
|
||||
rm -rf build
|
||||
|
||||
export MSYS_NO_PATHCONV=1
|
||||
# ---------------------------------------------
|
||||
# Function to build one preset
|
||||
# ---------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user