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

Git HTTPS error has returned #94

Open
aawdls opened this issue May 26, 2023 · 3 comments
Open

Git HTTPS error has returned #94

aawdls opened this issue May 26, 2023 · 3 comments
Assignees

Comments

@aawdls
Copy link
Contributor

aawdls commented May 26, 2023

Despite the section in the Dockerfile which is reinstalling libcurl-devel and git, doing git clone to an https url will give the following error

git: 'remote-https' is not a git command. See 'git --help'.

If I paste those commands from the Dockerfile into the terminal :(with sudo yum) then it does fix the problem.

gilesknap added a commit that referenced this issue May 26, 2023
gilesknap added a commit that referenced this issue May 26, 2023
@gilesknap
Copy link
Contributor

@aawdls I think I have a fix for you.

Try pulling the latest container when this is done https://github.com/dls-controls/dev-c7/actions/runs/5090534472

Let me know if it works and II'll tag it.

@aawdls
Copy link
Contributor Author

aawdls commented May 30, 2023

I seem to still be getting the error
This should work?

join-up [tdq39642@pc0095 machine_status_hybrid]$ c7 -pd
dev-c7
Trying to pull ghcr.io/dls-controls/dev-c7:latest...
Getting image source signatures
Copying blob 64e2e546bfb6 done  
Copying blob 75c4e5f258e8 done  
Copying blob 2d473b07cdd5 skipped: already exists  
Copying blob ffe61ca7763a done  
Copying blob eb75c545a7d6 done  
Copying blob 073efa85ecab done  
Copying blob c0783921206c done  
Copying blob 138135ed2901 done  
Copying config 867e499cd7 done  
Writing manifest to image destination
Storing signatures
867e499cd74bffd892d8772a13512da6fdab14d3e12f72108d512eabc421b6dd

Creating new dev-c7 container version latest ...
d20091f20eaf397e363b51b9e63953d630f94adc3515e3dd4a797fcb6a36aa4c
C join-up [tdq39642@pc0095 machine_status_hybrid]$ cd /tmp
C [tdq39642@pc0095 tmp]$ git clone https://github.com/dls-controls/dls_aa.git
Cloning into 'dls_aa'...
git: 'remote-https' is not a git command. See 'git --help'.

@gilesknap
Copy link
Contributor

gilesknap commented Jun 2, 2023

I have determined that the issue still appears when the container has been built using github actions (and docker). When I locally build the same container with podman the issue is not present.

For this reason I have restored the hack in the c7 launch script that re-installs git-core at container runtime.

@aawdls please can you download the c7 script and verify that it works for you? Thanks.

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