Source code of the container image volkerraschek/createrepo
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
CSRBot f5cee696e4
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
chore(deps): update quay.io/skopeo/stable docker tag to v1.13.3
4 days ago
.dockerignore Initial Commit 1 year ago
.drone.yml chore(deps): update quay.io/skopeo/stable docker tag to v1.13.3 4 days ago
.editorconfig Initial Commit 1 year ago
.gitattributes Initial Commit 1 year ago
.gitignore Initial Commit 1 year ago
.markdownlint.yaml Initial Commit 1 year ago
Dockerfile fix(renovate): automerge patch versions of used container images in docker files 3 months ago
LICENSE Initial Commit 1 year ago
Makefile fix: upgrade to createrepo v0.20.1 3 months ago
README.md fix: add createrepo.sh 1 year ago
createrepo.sh fix(ci): renovate 1 year ago
manifest.tmpl fix(ci): migrate to git.cryptic.systems 3 months ago
renovate.json fix(renovate): exclude updating docker.io/plugins/docker 3 weeks ago

README.md

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