{"repo":"kitabisa/docker-slim-action","free":true,"listed":false,"github":"https://github.com/kitabisa/docker-slim-action","clone":"git clone https://github.com/kitabisa/docker-slim-action.git","description":"GitHub Action to minify container image by up to 30x (and for compiled languages even more) making it secure too!","language":"TypeScript","stars":35,"topics":["actions","container","docker","docker-slim","github-actions","slim"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Docker Slim GitHub Action This GitHub Action helps you to minify your container image, making it smaller and more secure. With this Action, you can reduce the size of your container image by up to 30x (and even more for compiled languages) without compromising its functionality. What does this Action do? This GitHub Action uses slimtoolkit/slim to minimize your container image. slim is an open-source tool that removes unnecessary files and libraries from your image, resulting in a smaller and more secure container. Slim uses static and dynamic analysis techniques to identify the components of your image that are not needed at runtime. It also removes debug symbols, unused files, and libraries that are not required by your application, reducing the size of your image. See their README for more information about how Slim works. Setup To use this GitHub Action, you will need to have the docker/login-action or docker/build-push-action set up in your workflow as well. These actions will allow you to execute Docker commands needed for this action to run successfully. Usage Example Create a workflow file in your repository and add these steps to your job: In this example, it will minify ${{ github.repository }}:latest as target and will create a slimmed version of the target image with the slim tag from the input ( ${{ github.repository }}:slim ) then push the images to the registry. Inputs The following input actions are supported: Name Description Required? Type Default ----------","default_branch":null,"files":null,"tree":[],"storefront":"/r/kitabisa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kitabisa/docker-slim-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}