https://github.com/volker-raschek/createrepo-docker
[MIRROR]: Source files of the container image volkerraschek/createrepo
https://github.com/volker-raschek/createrepo-docker
container createrepo
Last synced: about 2 months ago
JSON representation
[MIRROR]: Source files of the container image volkerraschek/createrepo
- Host: GitHub
- URL: https://github.com/volker-raschek/createrepo-docker
- Owner: volker-raschek
- License: other
- Created: 2024-12-20T09:11:32.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-02-28T20:08:21.000Z (3 months ago)
- Last Synced: 2025-02-28T23:26:48.868Z (3 months ago)
- Topics: container, createrepo
- Language: Makefile
- Homepage: https://hub.docker.com/r/volkerraschek/createrepo
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# createrepo-docker
[](https://drone.cryptic.systems/volker.raschek/createrepo-docker)
[](https://hub.docker.com/r/volkerraschek/createrepo)This project contains all sources to build the container image
`docker.io/volkerraschek/createrepo` and the shell script `createrepo.sh`.The primary goal of this project is to package the binary `createrepo` as
container image to provide the functionally for CI/CD workflows or for systems
which does contains the binary.## createrepo.sh
The shell script `createrepo.sh` is a wrapper for the binary `createrepo`, which
is not available depending on the distribution. It starts the container image
`docker.io/volkerraschek/createrepo` in the background to call the binary. For
this reason, a container runtime like `docker` or `podman` is necessary.### Installation
The script can be installed via the following command:
```bash
curl https://git.cryptic.systems/volker.raschek/createrepo-docker/raw/branch/master/createrepo.sh --output - | sudo tee /usr/local/bin/createrepo.sh && sudo chmod +x /usr/local/bin/createrepo.sh
```### Usage
The script forwards all arguments directly to the binary running inside the
container. For this reason, all arguments from the original binary can be used.```bash
createrepo.sh --update . # Update local repository
createrepo.sh --update /var/www/my-repo # Update repository based on specific path
```