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

getting curl certificates error running docker build #34

Open
mgitman opened this issue Mar 18, 2024 · 0 comments
Open

getting curl certificates error running docker build #34

mgitman opened this issue Mar 18, 2024 · 0 comments

Comments

@mgitman
Copy link

mgitman commented Mar 18, 2024

I'm running Ubuntu 20.04.6 LTS on an Azure Lab Services VM. I've downloaded hbase-docker. I run:

sudo docker build -t dajobe/hbase .

And I'm getting this:

14.22 curl: (77) error setting certificate verify locations:
14.22   CAfile: /etc/ssl/certs/ca-certificates.crt
14.22   CApath: /etc/ssl/certs
14.22 
14.22 gzip: stdin: unexpected end of file
14.23 tar: Child returned status 1
14.23 tar: Error is not recoverable: exiting now
------
Dockerfile:14
--------------------
  13 |     
  14 | >>> RUN /build/prepare-hbase.sh && \
  15 | >>>     cd /opt/hbase && /build/build-hbase.sh \
  16 | >>>     cd / && /build/cleanup-hbase.sh && rm -rf /build
  17 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c /build/prepare-hbase.sh &&     cd /opt/hbase && /build/build-hbase.sh     cd / && /build/cleanup-hbase.sh && rm -rf /build" did not complete successfully: exit code: 2

I'm doing this for a class. What's interesting is that this had been working for my classmates up until some time in late February or early March, and then whatever the date was, those who tried it after that started seeing this same problem. My classmates have the same setup with their own VMs.

I've inspected the ca-certificates.crt file and the certs directory, and I see nothing untoward in terms of permissions or contents.

If anyone has any idea what's going on, I'd appreciate it. It would be helpful even just to be able to reproduce the problem with the constituent simple commands outside the context of the docker command.

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

1 participant