Skip to content

Commit

Permalink
Add workspace to safe directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed Nov 28, 2024
1 parent 298fd92 commit f43ba0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/native-image/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:21 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}"
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y git
RUN git config --global --add safe.directory /workspace

0 comments on commit f43ba0b

Please sign in to comment.