Files
claque/Dockerfile.default

33 lines
887 B
Docker

FROM fedora:RELEASE
COPY repos/*.repo /etc/yum.repos.d/
RUN dnf --setopt=tsflags=nodocs -y install createrepo \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm \
dnf5 \
dnf5-plugins \
findutils \
rsync \
&& dnf5 config-manager --set-disabled fedora fedora-modular updates-modular updates \
; dnf5 copr -y enable principis/howdy \
; dnf5 copr -y enable principis/NoiseTorch \
; dnf5 copr -y enable principis/tldr-sharp \
; dnf clean all && rm -rf /var/log/dnf*
ARG USER=mirror
ARG UID=978
ARG GID=978
RUN groupadd --gid=${GID} ${USER}
RUN useradd -m ${USER} --uid=${UID} --gid=${GID}
USER ${UID}:${GID}
VOLUME /data
ENV PACKAGES=""
COPY --chown=mirror:mirror run.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]