Dockerfile 368 B

12345678910
  1. FROM php:5-fpm
  2. ARG VER
  3. RUN \
  4. mkdir -p /home/htmly/content && \
  5. cd /home/htmly && \
  6. curl -o /tmp/htmly,${VER}.tar.gz https://codeload.github.com/danpros/htmly/tar.gz/${VER} && \
  7. tar -x --strip-components=1 -zf /tmp/htmly,${VER}.tar.gz && \
  8. chown -R www-data:www-data . && \
  9. rm /tmp/htmly,${VER}.tar.gz
  10. VOLUME /home/htmly