Source code of the container image volkerraschek/createrepo
Go to file
CSRBot eb6c6cff03
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update quay.io/skopeo/stable docker tag to v1.15.2
2024-07-16 16:04:08 +00:00
.dockerignore Initial Commit 2022-05-03 11:57:11 +02:00
.drone.yml chore(deps): update quay.io/skopeo/stable docker tag to v1.15.2 2024-07-16 16:04:08 +00:00
.editorconfig Initial Commit 2022-05-03 11:57:11 +02:00
.gitattributes Initial Commit 2022-05-03 11:57:11 +02:00
.gitignore Initial Commit 2022-05-03 11:57:11 +02:00
.markdownlint.yaml Initial Commit 2022-05-03 11:57:11 +02:00
createrepo.sh fix(ci): renovate 2022-05-03 17:25:29 +02:00
Dockerfile chore(deps): update docker.io/library/rockylinux docker tag to v9.3.20231119 2023-11-30 23:04:32 +00:00
LICENSE Initial Commit 2022-05-03 11:57:11 +02:00
Makefile fix: upgrade to createrepo v0.20.1 2023-07-08 18:44:43 +02:00
manifest.tmpl fix(ci): migrate to git.cryptic.systems 2023-07-08 18:30:39 +02:00
README.md fix: add createrepo.sh 2022-05-03 12:36:37 +02:00
renovate.json fix(renovate): remove automerge options 2024-01-21 14:36:45 +01:00

createrepo-docker

Build Status Docker Pulls

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:

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.

createrepo.sh --update .                  # Update local repository
createrepo.sh --update /var/www/my-repo   # Update repository based on specific path