rootfiles,Dockerfile: disable rpm unshare plugin to fix rpm transaction errors within docker
This commit is contained in:
parent
c6360c39ed
commit
4c4a64d237
@ -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" ]
|
||||
|
1
rootfiles/etc/rpm/macros.transaction_unshare
Normal file
1
rootfiles/etc/rpm/macros.transaction_unshare
Normal file
@ -0,0 +1 @@
|
||||
%__transaction_unshare %{nil}
|
Loading…
x
Reference in New Issue
Block a user