Skip to content

Commit

Permalink
fix: disable safe directory check
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOrangePuff committed Jan 22, 2024
1 parent d23c3aa commit 2df83d2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
ARG PHP_VERSION
FROM php:${PHP_VERSION} as standards-runtime

RUN apt-mark hold git
RUN apt-mark hold git-man

RUN apt-get update
RUN apt-get install -y unzip libpng-dev libicu-dev libxslt-dev jq git libzip-dev wget python3-venv
RUN apt-get clean
Expand All @@ -29,9 +26,7 @@ RUN python3 -m venv /venv
RUN /venv/bin/pip install --no-cache-dir -r /requirements.txt

# Allow git access to mounted build directories
RUN git config --global --add safe.directory /build
RUN git config --global --add safe.directory '*'
RUN mkdir -p /opt/atlassian/pipelines/agent/build
RUN git config --global --add safe.directory /opt/atlassian/pipelines/agent/build
RUN git config --global --add safe.directory /github/workspace

ENTRYPOINT ["/pipe.py"]

0 comments on commit 2df83d2

Please sign in to comment.