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

apline容器内下载image-syncer包缺ldd依赖 #145

Open
lizhifengones opened this issue Jan 22, 2024 · 1 comment
Open

apline容器内下载image-syncer包缺ldd依赖 #145

lizhifengones opened this issue Jan 22, 2024 · 1 comment

Comments

@lizhifengones
Copy link

Bug Report

Type: bug report

What happened

bash-5.0# cat /etc/os-release 
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.11.5
PRETTY_NAME="Alpine Linux v3.11"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
bash-5.0# image-syncer -h
Error loading shared library libresolv.so.2: No such file or directory (needed by /usr/local/bin/image-syncer)
Error relocating /usr/local/bin/image-syncer: __res_search: symbol not found

What you expected to happen

没有报错

例如release提供静态编译的 image-syncer下载

How to reproduce it (as minimally and precisely as possible)

musl C 库环境下下载release tar包并解压

Anything else we need to know?

Environment

  • image-syncer version:
  • OS (e.g. cat /etc/os-release):
  • Registry version (e.g. habor):
  • Others:
@hhyasdf
Copy link
Collaborator

hhyasdf commented Jan 23, 2024

可以用 image-syncer 的 Dockerfile 构建一个镜像

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