diff --git a/.gitignore b/.gitignore index bad82f1a9..4133ad85f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ compile_commands.json /build **/.idea +**/.clwb /platform/android/MapLibreAndroidTestApp/local.properties /new_offline.db *.gpg diff --git a/platform/linux/README.md b/platform/linux/README.md index 7a54a363c..79688d84a 100644 --- a/platform/linux/README.md +++ b/platform/linux/README.md @@ -34,6 +34,9 @@ docker build -t maplibre-native-image -f platform/linux/Dockerfile . # Run docker image as the current user. # This ensures that the files created in the container are owned by the current user. +docker run --rm -it -v "$PWD:/code/" -u $(id -u):$(id -g) maplibre-native-image ___any_build_command___ + +# You can also execute build commands from inside the docker container by starting it without parameters: docker run --rm -it -v "$PWD:/code/" -u $(id -u):$(id -g) maplibre-native-image ```