Skip to content

Instantly share code, notes, and snippets.

@roadev
Created Sep 19, 2016
Embed
What would you like to do?
Dockerfile for building magento 1.x development environment
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"]
@roadev
Copy link
Author

roadev commented Sep 19, 2016

Used with Debian 8 docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment