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

statically link the s5cmd binary #250

Closed
aceeric opened this issue Nov 13, 2020 · 0 comments · Fixed by #256
Closed

statically link the s5cmd binary #250

aceeric opened this issue Nov 13, 2020 · 0 comments · Fixed by #256
Milestone

Comments

@aceeric
Copy link

aceeric commented Nov 13, 2020

We use your s5cmd utility along with the kubectl utility to perform backups/restores of object stores provisioned by Rook Ceph in our Kubernetes cluster. The object buckets are represented by Object Bucket Claims and Object Buckets. To implement this, we need to have a container with the s5cmd utility, the kubectl utility, and bash to script the various tasks. Presently, the s5cmd contains a couple of dynamic library references which make this a little more complex:

ldd s5cmd
    /lib/ld-musl-x86_64.so.1 (0x7f9f5df96000)
    libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f9f5df96000)

Would you consider statically linking the s5cmd executable so that it can be more easily copied to a new container and combined with other utilities as descrbed?

@igungor igungor added this to the v1.2.1 milestone Dec 2, 2020
igungor pushed a commit that referenced this issue Dec 3, 2020
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 a pull request may close this issue.

2 participants