Installation for S&D
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
763 B

2 years ago
  1. FROM rcarjan/nginx-php:7.4
  2. LABEL maintainer="Radu Liviu Carjan"
  3. ## Make queue log directory
  4. RUN mkdir /var/log/queue
  5. WORKDIR /var/www
  6. ## Install libreoffice
  7. RUN apt-get install -y software-properties-common && \
  8. apt-add-repository -y ppa:libreoffice/ppa && \
  9. apt-get install -y \
  10. libreoffice \
  11. supervisor \
  12. sqlite3 \
  13. php7.4-sqlite3
  14. RUN mkdir /var/www/duckling
  15. ADD duckling /var/www/duckling
  16. ## Install duckling prerequisites
  17. RUN apt-get update && \
  18. apt-get install -y \
  19. libpcre3 \
  20. libpcre3-dev \
  21. pkg-config \
  22. git
  23. ## Change workdir to duckling folder
  24. WORKDIR /var/www/duckling
  25. ## Install haskell stack
  26. RUN curl -sSL https://get.haskellstack.org/ | sh
  27. ## Install duckling
  28. RUN stack build
  29. WORKDIR ${SERVER_ROOT}