diff --git a/container/Dockerfile b/container/Dockerfile new file mode 100644 index 00000000..1d9ab420 --- /dev/null +++ b/container/Dockerfile @@ -0,0 +1,7 @@ +FROM almalinux:8 +RUN ["yum", "-y", "update"] +RUN ["rpm", "-ivh", "https://hpc.lenovo.com/yum/latest/el8/x86_64/lenovo-hpc-yum-1-1.x86_64.rpm"] +RUN ["yum", "-y", "install", "lenovo-confluent", "tftp-server", "openssh-clients", "openssl", "vim-enhanced", "iproute"] +ADD runconfluent.sh /bin/ +CMD ["/bin/bash", "/bin/runconfluent.sh"] + diff --git a/container/runconfluent.sh b/container/runconfluent.sh new file mode 100644 index 00000000..661a4b34 --- /dev/null +++ b/container/runconfluent.sh @@ -0,0 +1,3 @@ +#!/bin/bash +rm -f /var/run/confluent/pid /run/confluent/pid >& /dev/null +/opt/confluent/bin/confluent -f