Skip to content

Commit 1d56f4d

Browse files
committed
add dnf flags to command args, and add claude to ignore
1 parent 02b8db6 commit 1d56f4d

4 files changed

Lines changed: 21 additions & 10 deletions

File tree

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ docker-compose*.yml
6969
# Temporary files
7070
*.tmp
7171
*.temp
72+
73+
# AI Tools
74+
.claude/

.github/workflows/fork-only-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
python3-koji \
3939
python3-libdnf5 \
4040
python3-pytest \
41+
python3-pytest-cov \
4142
python3-yaml
4243
4344
- name: Clean up

.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IDE and editor files
2-
.idea
3-
.vscode
2+
.idea/
3+
.vscode/
44
*.swp
55

66
# Python cache and bytecode
@@ -24,4 +24,7 @@ pkg_entries.json
2424
actual_output
2525
actual_configs
2626
content-resolver-input
27-
debug_*.json
27+
debug_*.json
28+
29+
# AI Tools
30+
.claude/

Dockerfile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
FROM registry.fedoraproject.org/fedora:44
22

3-
# Configure DNF to skip ldconfig in container builds
4-
# An error is caused because DNF is trying to update the dynamic linker cache in the container.
5-
RUN echo "tsflags=nodocs" >> /etc/dnf/dnf.conf && \
6-
echo "install_weak_deps=False" >> /etc/dnf/dnf.conf
7-
8-
RUN dnf -y update fedora-gpg-keys && \
9-
dnf -y install git python3-jinja2 python3-koji python3-yaml python3-libdnf5 && \
3+
RUN dnf -y update fedora-gpg-keys \
4+
--setopt=tsflags=nodocs \
5+
--setopt=install_weak_deps=False && \
6+
dnf -y install \
7+
git \
8+
python3-jinja2 \
9+
python3-koji \
10+
python3-libdnf5 \
11+
python3-yaml \
12+
--setopt=tsflags=nodocs \
13+
--setopt=install_weak_deps=False && \
1014
dnf clean all && \
1115
rm -rf /var/cache/dnf
1216

0 commit comments

Comments
 (0)