diff --git a/container/Dockerfile b/container/Dockerfile index 80d3b5de..25cebdd0 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -1,7 +1,13 @@ -FROM almalinux:9 +FROM almalinux:10 +VOLUME /var/lib/confluent +VOLUME /var/run/confluent +VOLUME /etc/confluent +VOLUME /var/lib/tftpboot +ENV EMBEDHTTP=1 +ENV EMBEDTFTP=0 RUN ["yum", "-y", "update"] -RUN ["rpm", "-ivh", "https://hpc.lenovo.com/yum/latest/el9/x86_64/lenovo-hpc-yum-1-1.x86_64.rpm"] -RUN ["yum", "-y", "install", "lenovo-confluent", "tftp-server", "openssh-clients", "openssl", "vim-enhanced", "iproute"] +RUN ["rpm", "-ivh", "https://hpc.lenovo.com/yum/latest/el10/x86_64/lenovo-hpc-yum-1-1.x86_64.rpm"] +RUN ["yum", "-y", "install", "lenovo-confluent", "tftp-server", "openssh-clients", "openssl", "vim-enhanced", "iproute", "policycoreutils", "selinux-policy-targeted"] RUN ["chown", "-r", "root", "/etc/confluent"] ADD runconfluent.sh /bin/ CMD ["/bin/bash", "/bin/runconfluent.sh"]