Skip to content

Commit 091e554

Browse files
committed
fix(build): add missing --assumeyes argument
1 parent de2c502 commit 091e554

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

build/rhel8/Containerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@ FROM registry.access.redhat.com/ubi8/ubi
22
# use rockylinux for testing without a subscription
33
# FROM docker.io/library/rockylinux:8
44

5-
RUN dnf -y update && dnf clean all
6-
RUN dnf -y install git zip binutils && dnf clean all
5+
RUN dnf --assumeyes update && dnf clean all
6+
RUN dnf --assumeyes install git zip binutils && dnf clean all
77

88
# for nuitka
99
# codeready is already enabled inside ubi
10-
RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && dnf clean all
11-
# RUN dnf install -y epel-release dnf-plugins-core && dnf config-manager --set-enabled powertools && dnf clean all
12-
RUN dnf -y install patchelf ccache && dnf clean all
10+
RUN dnf --assumeyes install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && dnf clean all
11+
# RUN dnf install --assumeyes epel-release dnf-plugins-core && dnf config-manager --set-enabled powertools && dnf clean all
12+
RUN dnf --assumeyes install patchelf ccache && dnf clean all
1313

1414
# for compiling selinux policies
15-
RUN dnf -y install make selinux-policy-devel && dnf clean all
15+
RUN dnf --assumeyes install make selinux-policy-devel && dnf clean all
1616

17-
RUN dnf -y install python39 python39-devel && dnf clean all
17+
RUN dnf --assumeyes install python39 python39-devel && dnf clean all
1818

1919
# dependencies for gem / fpm
20-
RUN dnf -y install ruby-devel gcc make rpm-build libffi-devel && dnf clean all
20+
RUN dnf --assumeyes install ruby-devel gcc make rpm-build libffi-devel && dnf clean all
2121

2222
# install fpm using gem
2323
# RUN gem install fpm

build/rhel9/Containerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ FROM registry.access.redhat.com/ubi9/ubi
22
# use rockylinux for testing without a subscription
33
# FROM docker.io/library/rockylinux:9
44

5-
RUN dnf -y update && dnf clean all
6-
RUN dnf -y install git zip binutils && dnf clean all
5+
RUN dnf --assumeyes update && dnf clean all
6+
RUN dnf --assumeyes install git zip binutils && dnf clean all
77

88
# for nuitka
99
# codeready is already enabled inside ubi
10-
RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && dnf clean all
11-
# RUN dnf install -y epel-release dnf-plugins-core && dnf config-manager --set-enabled powertools && dnf clean all
12-
RUN dnf -y install patchelf ccache && dnf clean all
10+
RUN dnf --assumeyes install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && dnf clean all
11+
# RUN dnf install --assumeyes epel-release dnf-plugins-core && dnf config-manager --set-enabled powertools && dnf clean all
12+
RUN dnf --assumeyes install patchelf ccache && dnf clean all
1313

1414
# for compiling selinux policies
15-
RUN dnf -y install make selinux-policy-devel && dnf clean all
15+
RUN dnf --assumeyes install make selinux-policy-devel && dnf clean all
1616

1717
# dependencies for gem / fpm
18-
RUN dnf -y install ruby-devel gcc make rpm-build libffi-devel && dnf clean all
18+
RUN dnf --assumeyes install ruby-devel gcc make rpm-build libffi-devel && dnf clean all
1919

2020
# install fpm using gem
2121
RUN gem install fpm

0 commit comments

Comments
 (0)