File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ RUN apt-get -y install \
6060 libssl-dev \
6161 libraspberrypi-dev \
6262 libglib2.0-dev
63+
64+ # Mark /source as safe directory for git (used in CI mounts)
65+ RUN git config --system --add safe.directory /source
6366
6467# Compile and install CMake
6568ENV CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}"
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ RUN dnf -y group install 'development-tools' 'c-development' 'rpm-development-to
5252 alsa-lib-devel \
5353 libftdi-devel \
5454 systemd-devel
55+
56+ # Mark /source as safe directory for git (used in CI mounts)
57+ RUN git config --system --add safe.directory /source
5558
5659# Install CMake on amd64 and arm64
5760ENV CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}"
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ RUN apt-get -y install \
6363 libssl-dev \
6464 libglib2.0-dev
6565
66+ # Mark /source as safe directory for git (used in CI mounts)
67+ RUN git config --system --add safe.directory /source
68+
6669# install X11/XCB on Ubuntu for all arch and on Debian for amd64
6770# install libraspberrypi-dev on Debian for arm64/armhf
6871RUN if [ "$DIST" = "ubuntu" ] || [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
You can’t perform that action at this time.
0 commit comments