FROM rockylinux:9
RUN dnf -y install epel-release && \
dnf -y install \
git \
autoconf \
automake \
libtool \
make \
gcc-toolset-13 \
gcc-toolset-13-gcc-plugin-annobin \
rpm-build \
rpmdevtools \
which && \
dnf clean all
SHELL ["/usr/bin/scl", "enable", "gcc-toolset-13", "--", "/bin/bash", "-c"]
WORKDIR /build
RUN git clone --depth 1 https://github.com/wolfSSL/wolfssl.git
WORKDIR /build/wolfssl
RUN ./autogen.sh && ./configure
RUN make rpm
CMD ["scl", "enable", "gcc-toolset-13", "--", "/bin/bash"]
$ docker build -t wolfssl-rpm .
...
68.51
68.51 RPM build errors:
68.51 File not found: /root/rpmbuild/BUILDROOT/wolfssl-5.9.1-1.x86_64/usr/share/doc/wolfssl/example/async_client.c
68.51 File not found: /root/rpmbuild/BUILDROOT/wolfssl-5.9.1-1.x86_64/usr/share/doc/wolfssl/example/async_server.c
68.51 make: *** [Makefile:12942: rpm-build] Error 1
Contact Details
No response
Version
master
Description
Dockerfile:Reproduction steps
No response
Relevant log output