Created
September 19, 2016 01:56
-
-
Save roadev/3312a3455eadcb6120e4654740f7caba to your computer and use it in GitHub Desktop.
Dockerfile for building magento 1.x development environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:5.6-apache | |
RUN apt-get update && apt-get install -y \ | |
libmcrypt-dev \ | |
libxml2-dev \ | |
libpng12-dev \ | |
libjpeg-dev | |
RUN docker-php-ext-install mysqli | |
RUN docker-php-ext-install mcrypt | |
RUN docker-php-ext-install soap | |
RUN docker-php-ext-install gd | |
COPY entrypoint.sh /entrypoint.sh | |
RUN chmod 777 /entrypoint.sh | |
ENTRYPOINT ["/entrypoint.sh"] | |
# entrypoint.sh contains: | |
# #!/bin/bash | |
# chown -R www-data:www-data . | |
# exec "$@" | |
CMD ["apache2-foreground"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used with Debian 8 docker image.