{"id":23204653,"url":"https://github.com/leplusorg/docker-compress","last_synced_at":"2025-10-13T04:03:14.378Z","repository":{"id":267925330,"uuid":"902773239","full_name":"leplusorg/docker-compress","owner":"leplusorg","description":"Docker container to compress/decompress data (zip, gzip, 7zip, bzip2...).","archived":false,"fork":false,"pushed_at":"2025-04-02T01:29:23.000Z","size":126,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T02:31:09.037Z","etag":null,"topics":["compression","decompression","docker","docker-image","dockerfile"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/leplusorg/compress","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/leplusorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-13T08:37:46.000Z","updated_at":"2025-04-02T01:29:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"6adc16be-5c25-4be3-9267-050738bb8d76","html_url":"https://github.com/leplusorg/docker-compress","commit_stats":null,"previous_names":["leplusorg/docker-compress"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-compress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-compress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-compress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-compress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leplusorg","download_url":"https://codeload.github.com/leplusorg/docker-compress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247320005,"owners_count":20919694,"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":["compression","decompression","docker","docker-image","dockerfile"],"created_at":"2024-12-18T16:19:36.441Z","updated_at":"2025-10-13T04:03:14.373Z","avatar_url":"https://github.com/leplusorg.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compress\n\nMulti-platform Docker container with utilities to compress/decompress data (`zip`, `gzip`, `7zip`, `bzip2`, `lz4`, `xz`...).\n\n[![Dockerfile](https://img.shields.io/badge/GitHub-Dockerfile-blue)](compress/Dockerfile)\n[![Docker Build](https://github.com/leplusorg/docker-compress/workflows/Docker/badge.svg)](https://github.com/leplusorg/docker-compress/actions?query=workflow:\"Docker\")\n[![Docker Stars](https://img.shields.io/docker/stars/leplusorg/compress)](https://hub.docker.com/r/leplusorg/compress)\n[![Docker Pulls](https://img.shields.io/docker/pulls/leplusorg/compress)](https://hub.docker.com/r/leplusorg/compress)\n[![Docker Version](https://img.shields.io/docker/v/leplusorg/compress?sort=semver)](https://hub.docker.com/r/leplusorg/compress)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/10082/badge)](https://bestpractices.coreinfrastructure.org/projects/10082)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/leplusorg/docker-compress/badge)](https://securityscorecards.dev/viewer/?uri=github.com/leplusorg/docker-compress)\n\n## Example without using the filesystem\n\nLet's say that you have a file `foo.txt` in your current working directory that you want to compress:\n\n**Mac/Linux**\n\n```bash\ncat foo.txt | docker run --rm -i --net=none leplusorg/compress gzip -c - \u003e foo.txt.gz\n```\n\n**Windows**\n\n```batch\ntype foo.txt | docker run --rm -i --net=none leplusorg/compress gzip -c - \u003e foo.txt.gz\n```\n\n## Example using the filesystem\n\nSame thing, assuming that you have a file `foo.txt` in your current working directory that you want to compress:\n\n**Mac/Linux**\n\n```bash\ndocker run --rm -t --user=\"$(id -u):$(id -g)\" --net=none -v \"$(pwd):/tmp\" leplusorg/compress gzip /tmp/foo.txt\n```\n\n**Windows**\n\nIn `cmd`:\n\n```batch\ndocker run --rm -t --net=none -v \"%cd%:/tmp\" leplusorg/compress gzip /tmp/foo.txt\n```\n\nIn PowerShell:\n\n```pwsh\ndocker run --rm -t --net=none -v \"${PWD}:/tmp\" leplusorg/compress gzip /tmp/foo.txt\n```\n\n## Software Bill of Materials (SBOM)\n\nTo get the SBOM for the latest image (in SPDX JSON format), use the\nfollowing command:\n\n```bash\ndocker buildx imagetools inspect leplusorg/compress --format '{{ json (index .SBOM \"linux/amd64\").SPDX }}'\n```\n\nReplace `linux/amd64` by the desired platform (`linux/amd64`, `linux/arm64` etc.).\n\n### Sigstore\n\n[Sigstore](https://docs.sigstore.dev) is trying to improve supply\nchain security by allowing you to verify the origin of an\nartifcat. You can verify that the image that you use was actually\nproduced by this repository. This means that if you verify the\nsignature of the Docker image, you can trust the integrity of the\nwhole supply chain from code source, to CI/CD build, to distribution\non Maven Central or whever you got the image from.\n\nYou can use the following command to verify the latest image using its\nsigstore signature attestation:\n\n```bash\ncosign verify leplusorg/compress --certificate-identity-regexp 'https://github\\.com/leplusorg/docker-compress/\\.github/workflows/.+' --certificate-oidc-issuer 'https://token.actions.githubusercontent.com'\n```\n\nThe output should look something like this:\n\n```text\nVerification for index.docker.io/leplusorg/xml:main --\nThe following checks were performed on each of these signatures:\n  - The cosign claims were validated\n  - Existence of the claims in the transparency log was verified offline\n  - The code-signing certificate was verified using trusted certificate authority certificates\n\n[{\"critical\":...\n```\n\nFor instructions on how to install `cosign`, please read this [documentation](https://docs.sigstore.dev/cosign/system_config/installation/).\n\n## Request new tool\n\nPlease use [this link](https://github.com/leplusorg/docker-compress/issues/new?assignees=thomasleplus\u0026labels=enhancement\u0026template=feature_request.md\u0026title=%5BFEAT%5D) (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleplusorg%2Fdocker-compress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleplusorg%2Fdocker-compress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleplusorg%2Fdocker-compress/lists"}