ctop/Dockerfile
2017-03-10 19:51:31 +11:00

8 lines
260 B
Docker

FROM quay.io/vektorcloud/glibc:latest
RUN ctop_url=$(wget -q -O - https://api.github.com/repos/bcicen/ctop/releases/latest | grep 'browser_' | cut -d\" -f4 |grep 'linux-amd64') && \
wget -q $ctop_url -O /ctop && \
chmod +x /ctop
ENTRYPOINT ["/ctop"]