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

Feat: add minimalist utilities in the container image #653

Closed
wants to merge 1 commit into from
Closed

Feat: add minimalist utilities in the container image #653

wants to merge 1 commit into from

Conversation

cr1cr1
Copy link

@cr1cr1 cr1cr1 commented Aug 24, 2023

Rationale: the existing container image is too barebones to be used in production scenarios.

If you need to do some additional scripting for example for some backup routine (like cleanup, retention, basic filtering either locally or remotely), you have to either add apk packages at runtime or build another container image with the current one as base.

For example, since s5cmd supports json output, one could use jq to get and then script to manipulate programmatically the remote s3 objects

The resulting uncopressed image is 31.5MB as compared to current 25.7MB:
image

@cr1cr1 cr1cr1 requested a review from a team as a code owner August 24, 2023 07:14
@cr1cr1 cr1cr1 requested review from igungor and sonmezonur and removed request for a team August 24, 2023 07:14
@igungor
Copy link
Member

igungor commented Sep 13, 2023

Hey @cr1cr1, Docker image is intentionally minimal because it's meant to distribute s5cmd only. You may create your own image with jq and s5cmd in it if you'd like.

@igungor igungor closed this Sep 13, 2023
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.

None yet

2 participants