Dockerfile: fix rpm error since trixie upgrade
Some checks failed
docker-images / multi (., tunasync-scripts, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (., tunasync-scripts, ubuntu-latest) (push) Has been cancelled
docker-images / multi (ftpsync, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (ftpsync, ubuntu-latest) (push) Has been cancelled
docker-images / multi (nix-channels, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (nix-channels, ubuntu-latest) (push) Has been cancelled
docker-images / multi (rubygems-mirror, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (rubygems-mirror, ubuntu-latest) (push) Has been cancelled
docker-images / multi (rustup-mirror, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (rustup-mirror, ubuntu-latest) (push) Has been cancelled
docker-images / multi (tsumugu, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (tsumugu, ubuntu-latest) (push) Has been cancelled
docker-images / merge (push) Has been cancelled

This commit is contained in:
Miao Wang 2025-09-19 02:37:42 +08:00
parent b0474e4ec0
commit 6e0a7701f7

View File

@ -44,3 +44,6 @@ RUN sed -i 's:^#!/usr/bin/env python$:#!/usr/bin/env python3:' /usr/local/bin/ao
# install ed for debmirror
RUN apt-get install --no-install-recommends -y ed
# set rpm db path back to HOME (revert the change since trixie)
RUN mkdir -p /etc/rpm && echo "%_dbpath %(bash -c 'echo ~/.rpmdb')" > /etc/rpm/macros