2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-02-14 19:59:00 +00:00

Update container with more packages, volumes, env, and alma 10

This commit is contained in:
Jarrod Johnson
2026-01-15 09:46:23 -05:00
parent afb6356f9d
commit 72c4868073

View File

@@ -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"]