Created
November 13, 2019 23:46
-
-
Save walterwhites/88d5a5fd33ca0d556d13c2d021ea27e9 to your computer and use it in GitHub Desktop.
dockerfile_codeception
This file contains hidden or 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 codeception/codeception | |
MAINTAINER Flo Flo contact.magician@gmail.com | |
# Install docker and docker-compose | |
RUN apt-get update -y && apt-get install -y apt-transport-https ca-certificates \ | |
curl gnupg2 software-properties-common \ | |
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \ | |
&& apt-key fingerprint 0EBFCD88 \ | |
&& add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) \ | |
stable" \ | |
&& apt-get update -y && apt-get install docker-ce docker-ce-cli containerd.io -y | |
RUN curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose \ | |
&& chmod +x /usr/local/bin/docker-compose \ | |
&& ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose | |
# Install Imagick | |
RUN apt-get update \ | |
&& apt-get install -y libmagickwand-dev --no-install-recommends \ | |
&& yes '' | pecl install -f imagick \ | |
&& echo -e "\nextension=imagick.so" >> /usr/local/etc/php/php.ini | |
RUN apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment