{"id":16892787,"url":"https://github.com/wader/static-gm","last_synced_at":"2025-04-11T14:04:11.668Z","repository":{"id":36766853,"uuid":"220329367","full_name":"wader/static-gm","owner":"wader","description":"Image with graphicsmagick binary built as hardened static PIE binaries with no external dependencies","archived":false,"fork":false,"pushed_at":"2025-01-09T17:23:13.000Z","size":301,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T19:49:16.907Z","etag":null,"topics":["docker","graphicsmagick"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/mwader/static-gm","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wader.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":"2019-11-07T21:09:22.000Z","updated_at":"2025-01-09T17:23:16.000Z","dependencies_parsed_at":"2024-02-23T22:26:21.871Z","dependency_job_id":"56d203d5-88c5-485b-8121-754a2c7feb6d","html_url":"https://github.com/wader/static-gm","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fstatic-gm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fstatic-gm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fstatic-gm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fstatic-gm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wader","download_url":"https://codeload.github.com/wader/static-gm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235213328,"owners_count":18953731,"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","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","graphicsmagick"],"created_at":"2024-10-13T17:12:22.602Z","updated_at":"2025-01-23T01:50:20.398Z","avatar_url":"https://github.com/wader.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## static-gm\n\nImage with graphicsmagick binary built as hardened static PIE binaries with no\nexternal dependencies. Can be used with any base image even scratch.\n\nBuilt with:\n- ijg jpeg\n- jasper (JPEG2000)\n- lcms2\n- libpng\n- libtiff\n- libwebp\n- libjxl (JPEG XL)\n- libheif (HEIF and AVIF decode only)\n- quantum-depth=16,\n\n### Usage\n```Dockerfile\nCOPY --from=mwader/static-gm:1.3.45 /gm /usr/local/bin/\n```\n```sh\ndocker run --rm -u $UID:$GROUPS -v \"$PWD:$PWD\" -w \"$PWD\" mwader/static-gm:1.3.45 identify test.png\n```\n\n### Files in the image\n`/gm` graphicsmagick binary  \n`/icc-profiles` ICC profiles  \n`/delegates.mgk` Empty delegates configuration file that can be used to prevent graphicsmagick from failing due to missing delegates configuration\n\n### Delegates configuration\nIf you're copying the binary to an image you might also want to copy `/delegates.mgk` and set then envinonment variable `MAGICK_CONFIGURE_PATH` to the directory where `delegates.mgk` can be found. This will prevent graphicsmagick from trying and failing to use an external delegate.\n\n### Security\nBinary is built with various hardening features but it's probably still a good idea to run\nthem as non-root even when used inside a container, especially so if running on input files\nthat you don't control.\n\nAlso see http://www.graphicsmagick.org/security.html and consider exporting\n`MAGICK_CODER_STABILITY` to be `PRIMARY` or `STABLE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwader%2Fstatic-gm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwader%2Fstatic-gm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwader%2Fstatic-gm/lists"}