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

docker: Add libelf1 as a dependency for building Teleport container images #7552

Merged
merged 2 commits into from
Jul 14, 2021

Conversation

webvictim
Copy link
Contributor

@webvictim webvictim commented Jul 14, 2021

Teleport 7.0 introduces a dependency on libelf.so.1 which was not previously present in Teleport container images, resulting in an error when Teleport attempts to run inside the container:

~ » docker run --rm --entrypoint=/bin/bash -it quay.io/gravitational/teleport:7.0.0-beta.1 -c "teleport version"
teleport: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

My best guess is that this dependency was introduced due to the addition of clang for compiling BPF bytecode as per #6027.

The following Docker images are unusable due to this bug:

  • quay.io/gravitational/teleport:7.0.0-beta.1
  • quay.io/gravitational/teleport-ent:7.0.0-beta.1
  • quay.io/gravitational/teleport-ent:7.0.0-beta.1-fips

@russjones russjones merged commit 458b6e5 into master Jul 14, 2021
@russjones russjones deleted the gus/libelf-docker branch July 14, 2021 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants