Skip to content

Commit

Permalink
git config safe.directory to avoid problems in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Nov 7, 2022
1 parent 0d5a3e5 commit d87a359
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ RUN set -e -x; \
# cpack
file dpkg-dev \
# base system (su)
util-linux

# ctest -D ExperimentalMemCheck; may not work in all architectures
RUN apt-get install -y --no-install-recommends valgrind || true

# setup su for dep installation
RUN sed -i '/pam_rootok.so$/aauth sufficient pam_permit.so' /etc/pam.d/su
util-linux; \
# ctest -D ExperimentalMemCheck; may not work in all architectures
apt-get install -y --no-install-recommends valgrind || true; \
# setup su for dep installation
sed -i '/pam_rootok.so$/aauth sufficient pam_permit.so' /etc/pam.d/su; \
# make git trust all directories to avoid issues in CI
git config --system --add safe.directory '*'

ADD entrypoint /usr/local/bin/entrypoint
CMD ["/usr/local/bin/entrypoint"]

0 comments on commit d87a359

Please # to comment.