Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crazy-max/docker-7zip
7-Zip Docker image
https://github.com/crazy-max/docker-7zip
7zip alpine-linux docker
Last synced: about 1 month ago
JSON representation
7-Zip Docker image
- Host: GitHub
- URL: https://github.com/crazy-max/docker-7zip
- Owner: crazy-max
- License: mit
- Created: 2018-04-09T17:45:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-23T15:24:56.000Z (3 months ago)
- Last Synced: 2024-06-23T16:39:42.614Z (3 months ago)
- Topics: 7zip, alpine-linux, docker
- Language: Dockerfile
- Homepage:
- Size: 234 KB
- Stars: 33
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
## About
Docker image for [7-Zip](https://www.7-zip.org/) built from sources.
> [!TIP]
> Want to be notified of new releases? Check out 🔔 [Diun (Docker Image Update Notifier)](https://github.com/crazy-max/diun)
> project!___
* [Build locally](#build-locally)
* [Image](#image)
* [Usage](#usage)
* [Contributing](#contributing)
* [License](#license)## Build locally
```shell
git clone https://github.com/crazy-max/docker-7zip.git
cd docker-7zip# Build image and output to docker (default)
docker buildx bake# Build multi-platform image
docker buildx bake image-all
```## Image
| Registry | Image |
|--------------------------------------------------------------------------------------------------|---------------------------------|
| [Docker Hub](https://hub.docker.com/r/crazymax/7zip/) | `crazymax/7zip` |
| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/7zip) | `ghcr.io/crazy-max/7zip` |Following platforms for this image are available:
```
$ docker run --rm mplatform/mquery crazymax/7zip:latest
Image: crazymax/7zip:latest
* Manifest List: Yes
* Supported platforms:
- linux/386
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64
- linux/ppc64le
- linux/s390x
```## Usage
Compress the mounted folder `/root` to `root.7z` :
```bash
docker run --rm --workdir /data -it -v /root:/data crazymax/7zip 7za a root.7z .
```Extract archive `root.7z` from the mounted folder `/root` :
```bash
docker run --rm --workdir /data -it -v /root:/data crazymax/7zip 7za x root.7z
```Use tar if you want to preserve Unix ownership / permissions :
```bash
docker run --rm --workdir /data -it -v /root:/data crazymax/7zip sh -c 'tar cvf - * | 7za a -si root.tar.7z'
```## Contributing
Want to contribute? Awesome! The most basic way to show your support is to star
the project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)
or by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this
journey continues indefinitely!Thanks again for your support, it is much appreciated! :pray:
## License
MIT. See `LICENSE` for more details.
Icon credit to [finfin](https://utopian.io/utopian-io/@finfin/new-logo-icon-proposal-for-7-zip).