1
0
mirror of https://bitbucket.org/shim_/docker-rtm.git synced 2018-10-04 01:52:08 +02:00
docker-rtm/Dockerfile
2016-06-13 15:51:03 +02:00

17 lines
564 B
Docker

FROM alpine
ENV RTM_VERSION 9.4-4
ENV RTM_DOWNLOAD_URL "ftp://ftp.ovh.net/made-in-ovh/rtm/install_rtm-0."
ENV RTM_INSTALLER_CHECKSUM 16dcde3cf46f82dcacfb63535b9375c97f0cc1ba4e412c086f0f03dd8a5483ac
ENV RTM_REPORT_INTERVAL 60
RUN apk add --no-cache bash curl sed gawk bind-tools which screen dmidecode pciutils bzip2 perl
RUN curl https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64 > /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
COPY init.sh /usr/bin/init.sh
VOLUME /cache
CMD ["/usr/bin/dumb-init","/usr/bin/init.sh"]