rootfiles,Dockerfile: disable rpm unshare plugin to fix rpm transaction errors within docker

This commit is contained in:
Silvan 2025-03-08 14:58:27 +01:00
parent c6360c39ed
commit 4c4a64d237
2 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1
FROM --platform=${TARGETPLATFORM} openmamba/openmamba:latest
COPY rootfiles/ /
RUN dnf update --nogpgcheck -y
RUN dnf install --nogpgcheck -y dnf-plugins-core iputils tar sudo openmamba-unstable-repos autodist apache
RUN dnf config-manager --set-enabled unstable-makedist
COPY rootfiles/ /
RUN dnf install --nogpgcheck -y $(cat /root/builddeps)
EXPOSE 80
CMD [ "apachectl", "-D", "FOREGROUND" ]

View File

@ -0,0 +1 @@
%__transaction_unshare %{nil}