Skip to content

Dockerfile broken on step 6/12 (HTTPS clone problems) #8

@simmessa

Description

@simmessa

Hello there,

there's an issue with the git clone part of the Dockerfile:

Step 6/12 : RUN cd /home/dev; sudo -H -u dev git clone https://github.com/OpenAnnePro/AnnePro2-Tools.git && cd AnnePro2-Tools && cargo build --release
 ---> Running in 41a7802d6686
Cloning into 'AnnePro2-Tools'...
fatal: unable to access 'https://github.com/OpenAnnePro/AnnePro2-Tools.git/': server certificate verification failed. CAfile: none CRLfile: none
The command '/bin/sh -c cd /home/dev; sudo -H -u dev git clone https://github.com/OpenAnnePro/AnnePro2-Tools.git && cd AnnePro2-Tools && cargo build --release' returned a non-zero code: 128

I fixed by adding a new RUN command:

RUN sudo apt-get install -yq --reinstall ca-certificates

So, if you like I could make a PR for that, let me know.

Simone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions