Files
scst/docker/rocky-10.2/Dockerfile
T
Gleb Chesnokov bcef8cd845 build: Add Rocky Linux RPM builder
Add Docker targets that build the existing RPM packages in an isolated
Rocky Linux 10.2 environment. Keep the source worktree read-only,
derive the target kernel from the installed kernel-devel package and
export only verified RPM and source RPM artifacts.
2026-08-24 12:08:32 +03:00

34 lines
683 B
Docker

FROM rockylinux/rockylinux:10.2
ENV LANG=C \
LC_ALL=C
RUN dnf -y install \
bzip2 \
elfutils-libelf-devel \
findutils \
gcc \
git \
kernel \
kernel-devel \
kernel-headers \
kmod \
make \
openssl \
perl \
perl-Data-Dumper \
perl-devel \
perl-ExtUtils-MakeMaker \
redhat-rpm-config \
rpm-build \
systemd-rpm-macros \
tar \
which \
&& dnf clean all \
&& rm -rf /var/cache/dnf
COPY build-rpm /usr/local/bin/build-scst-rpm
RUN chmod 0755 /usr/local/bin/build-scst-rpm
ENTRYPOINT ["/usr/local/bin/build-scst-rpm"]