{"id":16751947,"url":"https://github.com/colthreepv/docker-image_optim","last_synced_at":"2025-10-15T18:50:06.829Z","repository":{"id":69359018,"uuid":"65251713","full_name":"colthreepv/docker-image_optim","owner":"colthreepv","description":"Docker image giving the built version of the best image optimizing CLI apps together with image_optim to rule them all","archived":false,"fork":false,"pushed_at":"2018-10-11T15:57:09.000Z","size":6,"stargazers_count":10,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T16:12:34.305Z","etag":null,"topics":["docker","docker-image","image-processing","imageoptim"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colthreepv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-09T01:18:51.000Z","updated_at":"2021-03-18T09:38:36.000Z","dependencies_parsed_at":"2023-06-03T19:15:25.823Z","dependency_job_id":null,"html_url":"https://github.com/colthreepv/docker-image_optim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/colthreepv/docker-image_optim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colthreepv%2Fdocker-image_optim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colthreepv%2Fdocker-image_optim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colthreepv%2Fdocker-image_optim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colthreepv%2Fdocker-image_optim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colthreepv","download_url":"https://codeload.github.com/colthreepv/docker-image_optim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colthreepv%2Fdocker-image_optim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279102804,"owners_count":26104125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","image-processing","imageoptim"],"created_at":"2024-10-13T02:45:28.258Z","updated_at":"2025-10-15T18:50:06.803Z","avatar_url":"https://github.com/colthreepv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-image_optim\n[![Docker Automated build](https://img.shields.io/docker/automated/colthreepv/docker-image_optim.svg?style=for-the-badge\u0026maxAge=3600)]()\n[![Docker Pulls](https://img.shields.io/docker/pulls/colthreepv/docker-image_optim.svg?style=for-the-badge\u0026maxAge=600)]()  \nA docker image giving the built version of the best image optimizing CLI apps together with `image_optim` to rule them all\n\n## Credits\n95% of this work it's from [rhardih][2]'s [first attempt at dockerizing this project][1].\n\n[1]: https://github.com/rhardih/image_optim_pack/blob/master/Dockerfile\n[2]: https://github.com/rhardih\n\n## Changes\n* Maintaining an additional Dockerfiles with fewer layers for production purposes\n* creating more layers, so if you need to test different versions you can avoid full rebuilds.\n* Versions have been bumped, and ordered alphabetically\n\n## Minimal usage\nExecute image_optim in your current dir:\n```shell\ndocker run --rm -ti -v $(pwd):/images/ colthreepv/docker-image_optim image_optim -r .\n```\n\n## How To Use\n```shell\ndocker run --rm -ti \\\n  # Add whatever image directory you like\n  # -v $(cd \u0026\u0026 cd images \u0026\u0026 pwd):/images/ \\\n  -v $(pwd)/config:/root/.config/ \\\n  colthreepv/docker-image_optim sh\n```\n\nThen a simple `cd /images \u0026\u0026 image_optim -r .` would optimize all the images in the mounted path.\n\n## How to Build\n`docker build -t image_optim .`\nand (after a while) you can run your custom-built image\n```shell\ndocker run --rm -ti \\\n  # Add whatever image directory you like\n  # -v $(cd \u0026\u0026 cd images \u0026\u0026 pwd):/images/ \\\n  -v $(pwd)/config:/root/.config/ \\\n  docker-image_optim sh\n```\n\n## Configuration\nA demo configuration (LOSSY!) can be found in [config/image_optim.yml][config], all the options are [listed here](http://www.rubydoc.info/gems/image_optim/)\n\n[config]: config/image_optim.yml\n\n# Footprint\nA serious shrink in footprint has been achieved squashing all the RUN layers into one.  \nThe drawback is having to maintain 2 Dockerfiles\n```shell\n$ docker images\nREPOSITORY                          TAG      SIZE\ncolthreepv/docker-image_optim       dev      365MB\ncolthreepv/docker-image_optim       latest   93.8MB\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolthreepv%2Fdocker-image_optim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolthreepv%2Fdocker-image_optim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolthreepv%2Fdocker-image_optim/lists"}