Skip to content

Commit

Permalink
Make sure git doesn't fail when obtaining a tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioPeJu committed Jun 20, 2023
1 parent d4976d4 commit dcee87a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ RUN bash scripts/config-file-rootfs.sh
# Error can't find python
RUN ln -s /usr/bin/python3 /usr/bin/python

# Entrypoint into the container
# Make sure git doesn't fail when used to obtain a tag name
RUN git config --global --add safe.directory '*'

# Entrypoint into the container
WORKDIR /repos
CMD ["/bin/bash"]

0 comments on commit dcee87a

Please sign in to comment.