aws-cli
aws-cli copied to clipboard
Include `tar` in the "amazon/aws-cli" Docker images
Is your feature request related to a problem? Please describe. Partially. Using the now available aws-cli Docker container doesn't really save us anything over building one manually.
Being able to easily tarball files before sending them to things, such as S3, is a common use case and its absence makes using the prebuilt container pretty worthless (in our use case). We currently are building an in-house container with tar and aws-cli to handle these jobs. Now, we'd have to build another based off of the official image which doesn't really save and/or gain us anything. The draw of using a container like this would be for the drop-in simplicity of deploying to AWS.
Describe the solution you'd like Add tar to the base aws-cli Docker container.
Describe alternatives you've considered We currently are building a custom Docker container with Python, aws-cli, and tarball for handling deploying assets to S3. We'd like to not have to maintain this custom container every time AWS CLI is updated.
circleci relies on tar being available to attach workspaces:
tar utility is not present in this image but it is required. Please install it to have workflow workspace capability.
Please also add gzip
Hi @goyney and @willthames! Thank you for submitting this feature request and the information about CircleCI. I'm labeling it for additional team review to discuss how to manage Docker image dependency or utility requests, as there are other requests as well (e.g., #5227).
Hi there - wondering if this ever came to fruition
Would also love this feature as we use CircleCI. Resorting to just using the official node image from dockerhub which is not ideal
Would also love this feature as we use CircleCI. Resorting to just using the official node image from dockerhub which is not ideal
I use CircleCI, and as a workaround I added a run
step in my CircleCI config.yml
that installs the tar
utility.
deploy:
docker:
- image: amazon/aws-cli
steps:
- checkout
- run:
name: Install tar utility
command: |
yum install -y tar gzip
@stangahh thanks came in handy
@stangahh Thank you. It worked!