Notifications
Clear all
Dec 03, 2025 6:06 pm
I have the following Dockerfile:
FROM openmamba/openmamba:latest
COPY . /srv
RUN dnf update --refresh --assumeyes &&
dnf install -y git make &&
git clone --depth=1 https://github.com/vlang/v /usr/local/v &&
cd /usr/local/v &&
make &&
cd /srv &&
/usr/local/v -prod .
CMD ["/srv/exec"]
EXPOSE 8080
The step dnf update --refresh --assumeyes fails, I have attached the log.
Is this expected?
Edit: I'm not allowed to upload the log, I put it on pastebin https://pastebin.com/UddYes2K
1 Reply
Dec 03, 2025 7:29 pm
Hi,
this is a known problem with rpm unshare plugin failing in a container.
I suggest to use the same workaround which I applied in the openmamba-docker-buildvm project, i.e. before running dnf install a file to the pathname /etc/rpm/macros.transaction_unshare with this content:
%__transaction_unshare %{nil}

