GitHub Actions: declare /usr/src/i3 as safe directory (#4992)
This commit is contained in:
parent
dba30fc987
commit
612a9317b0
@ -26,3 +26,8 @@ COPY debian/control /usr/src/i3-debian-packaging/control
|
|||||||
RUN linux32 apt-get update && \
|
RUN linux32 apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# The user outside of Docker (GitHub Actions CI runner) and inside of Docker
|
||||||
|
# (root) are different, and newer versions of git error out in that scenario.
|
||||||
|
# To fix this, explicitly configure /usr/src/i3 as a safe directory:
|
||||||
|
RUN git config --global --add safe.directory /usr/src/i3
|
||||||
|
@ -26,3 +26,8 @@ COPY debian/control /usr/src/i3-debian-packaging/control
|
|||||||
RUN linux32 apt-get update && \
|
RUN linux32 apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# The user outside of Docker (GitHub Actions CI runner) and inside of Docker
|
||||||
|
# (root) are different, and newer versions of git error out in that scenario.
|
||||||
|
# To fix this, explicitly configure /usr/src/i3 as a safe directory:
|
||||||
|
RUN git config --global --add safe.directory /usr/src/i3
|
||||||
|
@ -27,3 +27,8 @@ COPY debian/control /usr/src/i3-debian-packaging/control
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# The user outside of Docker (GitHub Actions CI runner) and inside of Docker
|
||||||
|
# (root) are different, and newer versions of git error out in that scenario.
|
||||||
|
# To fix this, explicitly configure /usr/src/i3 as a safe directory:
|
||||||
|
RUN git config --global --add safe.directory /usr/src/i3
|
||||||
|
@ -27,3 +27,8 @@ COPY debian/changelog /usr/src/i3-debian-packaging/changelog
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# The user outside of Docker (GitHub Actions CI runner) and inside of Docker
|
||||||
|
# (root) are different, and newer versions of git error out in that scenario.
|
||||||
|
# To fix this, explicitly configure /usr/src/i3 as a safe directory:
|
||||||
|
RUN git config --global --add safe.directory /usr/src/i3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user