Skip to content
Snippets Groups Projects
Commit 41c72725 authored by Eduardo Alvarez Fernandez's avatar Eduardo Alvarez Fernandez
Browse files

Updates

- webdav fs package install
- fixed permissions for prepare-environment script
- updated documentation, privileged mode added to be able to mount webdav within the container
parent aae89038
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ RUN yum clean all \
&& yum install -y centos-release-scl \
&& yum-config-manager --enable rhel-server-rhscl-7-rpms \
&& yum install -y rh-php71 rh-php71-php-pdo rh-php71-php-pdo_mysql \
&& yum install -y composer unzip which
&& yum install -y composer unzip which davfs2
RUN scl enable rh-php71 bash
......@@ -15,7 +15,8 @@ COPY prepare-enviroment.sh /usr/bin/prepare-enviroment.sh
RUN mkdir /drupal \
&& chmod 755 /drupal \
&& mkdir -p /drush/aliases \
&& chmod -R 755 /drush
&& chmod -R 755 /drush \
&& chmod 744 /usr/bin/prepare-enviroment.sh
COPY drush/site.alias.drushrc.php /drush/site.alias.drushrc.php
......
......@@ -17,7 +17,7 @@ docker build -t drush .
then get the image id and run it in interactive mode
```
docker images
docker run -i -t <image_id> /bin/bash
docker run -i --privileged -t <image_id> /bin/bash
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment