Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>
@@ -25,3 +25,6 @@ RUN apk add -U --no-cache \
gcc \
diffutils
RUN pip3 install -r /requirements.txt
+# Disable the top-level directory owner check
+# https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9
+RUN git config --system --add safe.directory '*'
@@ -42,7 +42,7 @@ all: build
.PHONY: image
image:
- $(DOCKER) build -t $(MKDOCS_IMAGE) --build-arg USER_ID=$(UID) -f Dockerfile .
+ $(DOCKER) build -t $(MKDOCS_IMAGE) -f Dockerfile .
.PHONY: build
build: image generate $(SOURCES)