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打包服务,运行提示 not found #79

Open
jiftle opened this issue Sep 3, 2020 · 11 comments
Open

Docker打包服务,运行提示 not found #79

jiftle opened this issue Sep 3, 2020 · 11 comments

Comments

@jiftle
Copy link

jiftle commented Sep 3, 2020

使用基础镜像 alpine:3.12

# ./example-service 
sh: ./example-service: not found

初步判断是依赖问题

# ldd example-service 
        /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)

请问怎么解决

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

10 similar comments
@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

@jiftle
Copy link
Author

jiftle commented Sep 3, 2020

禁用cgo,重新编译 . 问题解决。

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