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:
parent
430428eba2
commit
4f77615161
7
container/Dockerfile
Normal file
7
container/Dockerfile
Normal 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"]
|
||||
|
3
container/runconfluent.sh
Normal file
3
container/runconfluent.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rm -f /var/run/confluent/pid /run/confluent/pid >& /dev/null
|
||||
/opt/confluent/bin/confluent -f
|
Loading…
Reference in New Issue
Block a user