2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-24 02:20:08 +00:00

Provide a sample container build

This commit is contained in:
Jarrod Johnson 2021-07-08 09:39:36 -04:00
parent 430428eba2
commit 4f77615161
2 changed files with 10 additions and 0 deletions

7
container/Dockerfile Normal file
View File

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

View File

@ -0,0 +1,3 @@
#!/bin/bash
rm -f /var/run/confluent/pid /run/confluent/pid >& /dev/null
/opt/confluent/bin/confluent -f