jdoiro3 / mkdocs-multirepo-plugin

Build documentation in multiple repos into one site.
MIT License
133 stars 47 forks source link

bug: Only clones top repo contents #153

Open mihaigalos opened 3 months ago

mihaigalos commented 3 months ago

I'm using version 0.8.2 and the plugin works correctly in a venv. In a docker, however, it only clones the repo root and no subfolders. Why is that?

Dockerfile:

COPY requirements.txt .

RUN addgroup -S user && adduser -S user -G user

RUN apk update &&\
    apk add --update --no-cache --allow-untrusted \
        bash \
        git \
        gcc \
        gzip \
        musl-dev \
        nodejs npm \
        python3-dev \
        py3-pip \
        tar \
        xz &&\
    rm -rf /var/cache/apk/*

RUN pip3 install --break-system-packages -r requirements.txt

USER user
RUN mkdir /home/user/data
RUN git config --global --add safe.directory /home/user/data
WORKDIR /home/user/data

started with:

docker run --rm -it \
       --volume "$(pwd):/home/user/data" \
       -v "$(realpath ~/.netrc):/home/user/.netrc" \
       mycontainer
cardoe commented 3 months ago

This could be related to #133