Update Dockerfile.fedora38

This commit is contained in:
Teddysun 2023-07-27 23:22:50 +09:00
parent e1841e89c4
commit 496f608305
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -16,7 +16,7 @@ RUN dnf install -y yum-utils && \
bpftool dwarves gcc-plugin-devel glibc-static hmaccalc kernel-rpm-macros \ bpftool dwarves gcc-plugin-devel glibc-static hmaccalc kernel-rpm-macros \
libbabeltrace-devel libbpf-devel libcap-ng-devel libnl3-devel libtraceevent-devel \ libbabeltrace-devel libbpf-devel libcap-ng-devel libnl3-devel libtraceevent-devel \
elfutils-devel xz-devel perl-ExtUtils-Embed && \ elfutils-devel xz-devel perl-ExtUtils-Embed && \
yum clean all && rm -rf /var/cache/dnf /var/lib/rpm/__db* dnf clean all && rm -rf /var/cache/dnf /var/lib/rpm/__db*
RUN useradd builder -u 1000 -m -G users,wheel && \ RUN useradd builder -u 1000 -m -G users,wheel && \
echo "builder ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers && \ echo "builder ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers && \