Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Only clones top repo contents #153

Open
mihaigalos opened this issue Jul 26, 2024 · 1 comment
Open

bug: Only clones top repo contents #153

mihaigalos opened this issue Jul 26, 2024 · 1 comment

Comments

@mihaigalos
Copy link

mihaigalos commented Jul 26, 2024

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
Copy link
Contributor

cardoe commented Aug 9, 2024

This could be related to #133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants