Skip to content

bug: Only clones top repo contents #153

Open
@mihaigalos

Description

@mihaigalos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions