FROM "ubuntu:20.10" LABEL maintainer="Cabillot Julien " USER "root" RUN curl -o /octant.deb -kL https://github.com/vmware-tanzu/octant/releases/download/$(curl -s https://github.com/vmware-tanzu/octant/releases/latest | sed 's/^.*tag\///' | sed 's/\".*$//')/octant_$(curl -s https://github.com/vmware-tanzu/octant/releases/latest | sed 's/^.*tag\///' | sed 's/\".*$//' | sed 's/v//' )_Linux-64bit.deb && \ dpkg -i /octant.deb && \ rm -f /octant.deb COPY octant/entrypoint.sh /root/entrypoint.sh RUN chmod +x /root/entrypoint.sh #USER "iperf" CMD ["/bin/octant"]