Skip to content

Dockerfile: install ca-certificates#647

Merged
christos68k merged 1 commit intomainfrom
florianl-patch-2
Jul 22, 2025
Merged

Dockerfile: install ca-certificates#647
christos68k merged 1 commit intomainfrom
florianl-patch-2

Conversation

@florianl
Copy link
Copy Markdown
Member

When building the docker image, sometimes the download of artifacts fails because of certificate issues. E.g.:

Resolving golang.org (golang.org)... 172.217.168.49, 2a00:1450:400a:802::2011
Connecting to golang.org (golang.org)|172.217.168.49|:443... connected.
ERROR: The certificate of 'golang.org' is not trusted.
ERROR: The certificate of 'golang.org' doesn't have a known issuer.

When building the docker image, sometimes the download of artifacts fails because of certificate issues. E.g.:
```
Resolving golang.org (golang.org)... 172.217.168.49, 2a00:1450:400a:802::2011
Connecting to golang.org (golang.org)|172.217.168.49|:443... connected.
ERROR: The certificate of 'golang.org' is not trusted.
ERROR: The certificate of 'golang.org' doesn't have a known issuer.
```
@florianl florianl requested review from a team as code owners July 22, 2025 06:04
Comment thread Dockerfile
apt-get install -y --no-install-recommends --no-install-suggests \
curl wget make git cmake unzip libc6-dev g++ gcc pkgconf \
clang-17 clang-format-17 \
clang-17 clang-format-17 ca-certificates\
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
clang-17 clang-format-17 ca-certificates\
clang-17 clang-format-17 ca-certificates \

@christos68k christos68k merged commit a90d07f into main Jul 22, 2025
27 checks passed
@christos68k christos68k deleted the florianl-patch-2 branch July 22, 2025 17:27
gnurizen pushed a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 11, 2025
gnurizen pushed a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 11, 2025
gnurizen pushed a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 12, 2025
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

Successfully merging this pull request may close these issues.

3 participants