Some checks failed
Build all / Build and push amd64 image (push) Has been cancelled
Build all / Link Container tags (push) Has been cancelled
Build all / Link Container tags (PR Test) (push) Has been cancelled
Build all / Build and push arm64 image (push) Has been cancelled
GitLab Mirror / Gitlab Mirror (push) Has been cancelled
21 lines
830 B
Text
21 lines
830 B
Text
FROM registry.fedoraproject.org/fedora:41
|
|
|
|
LABEL org.opencontainers.image.description="Simple container image just for create RPM and APT repo."
|
|
|
|
# devscripts: Scripts for Debian Package maintainers
|
|
|
|
RUN dnf -y install createrepo_c devscripts reprepro jq wget2-wget tree rpm-sign gnupg git rpm-build \
|
|
# binutils policycoreutils policycoreutils-python-utils selinux-policy-devel \
|
|
--setopt=install_weak_deps=False \
|
|
--setopt=keepcache=True &&\
|
|
dnf -y install ruby rubygem-json \
|
|
--setopt=keepcache=True \
|
|
--exclude=rubygem-rdoc &&\
|
|
rm -rf /var/log/dnf*.log /root/.cache /usr/share/locale
|
|
|
|
# From the line of the binutils is the requirements of the SELinux config rpm builder
|
|
|
|
RUN gem update --system --no-document &&\
|
|
gem install fpm --no-document &&\
|
|
gem clean &&\
|
|
rm -rf /root/.cache
|