framaforms-stack/Dockerfile

17 lines
437 B
Text
Raw Normal View History

2021-03-27 17:21:45 +01:00
FROM drupal:7-php7.4-apache-buster
RUN apt-get update && apt-get install -y \
libxml2-dev \
curl \
&& docker-php-ext-install -j "$(nproc)" dom
ADD https://framagit.org/framasoft/framaforms/-/archive/1.0.3/framaforms-1.0.3.tar.gz /tmp
RUN tar -xzf /tmp/framaforms-1.0.3.tar.gz
RUN cp -r framaforms-1.0.3/profiles/framaforms_org/ profiles/
COPY settings.php sites/default/settings.php
RUN chmod 644 sites/default/settings.php