Skip to content

Commit 6e0a770

Browse files
Dockerfile: fix rpm error since trixie upgrade
1 parent b0474e4 commit 6e0a770

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ RUN sed -i 's:^#!/usr/bin/env python$:#!/usr/bin/env python3:' /usr/local/bin/ao
4444

4545
# install ed for debmirror
4646
RUN apt-get install --no-install-recommends -y ed
47+
48+
# set rpm db path back to HOME (revert the change since trixie)
49+
RUN mkdir -p /etc/rpm && echo "%_dbpath %(bash -c 'echo ~/.rpmdb')" > /etc/rpm/macros

0 commit comments

Comments
 (0)