#duh! Pick the base image (this is latest as of May 2020)
FROM php:7.4.5-apache
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
#duh!
RUN apt-get update
#Install zip+icu dev libs
RUN apt-get install libzip-dev zip libicu-dev -y
#Install PHP extensions zip and intl (intl requires to be configured)
RUN docker-php-ext-install zip && docker-php-ext-configure intl && docker-php-ext-install intl
#Required for htaccess rewrite rules
RUN a2enmod rewrite
Last active
June 21, 2020 04:23
-
-
Save jdecode/69f51cc0680de7c885770cbef65ba254 to your computer and use it in GitHub Desktop.
Docker commands that I run almost every time I am qaing something new
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker-compose run kode bin/cake migrations migrate
docker-compose run kode bin/cake migrations seed