docker-octant/Dockerfile

16 lines
601 B
Docker
Raw Normal View History

2020-12-01 22:57:14 -05:00
FROM "ubuntu:20.10"
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
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"]