Skip to content

xlionjuan/fedora-createrepo-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fedora-createrepo-image

Build all

Build very small Fedora based container image just for creating and building RPM and also APT repo.

By creating and using this container images, it can save time, resources and energy, because it won't need to update package lists and install dependencies every times when it runs.

I mainly use it on all of my RustDesk repos. (Check my profile)

Frequency

Build once a month week. (I bump to Fedora 41 early for testing dnf5 changes)

Installed packages

Please refer to Dockerfile.

Tagging

The latest will be latest, and a date (yyyymmdd) tag if you wanna specific environment or testing.

Use this container in actions

Just add container: ghcr.io/xlionjuan/fedora-createrepo-image:latest or container: ghcr.io/xlionjuan/fedora-createrepo-image-minimal:latest after runs-on: ubuntu-latest, I recommend you to use ubuntu-latest to ensure the Docker Engine is the latest version.

jobs:
    build:
      runs-on: ubuntu-latest
      container: ghcr.io/xlionjuan/fedora-createrepo-image-minimal:latest
      steps:
        - name: Checkout code
          uses: actions/checkout@v4
      .....
      .....

Note: minimal image is using microdnf instead of dnf.

About

Simple container image just for create RPM repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages