ctop/Dockerfile

8 lines
260 B
Docker
Raw Normal View History

2017-03-10 08:37:46 +00:00
FROM quay.io/vektorcloud/glibc:latest
2017-03-10 00:08:35 +00:00
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 && \
2017-03-10 08:37:46 +00:00
chmod +x /ctop
ENTRYPOINT ["/ctop"]