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
image: docker:stable | |
services: | |
- docker:dind | |
stages: | |
- build_base_image | |
- build_test_image | |
- test | |
- deploy |
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 php:7.2-apache | |
# This image is not to be used on a production server! | |
# I use it for local development on old projects (hence the PHP version). | |
# Install gd, iconv, mbstring, mysql, soap, sockets extensions | |
# see example at https://hub.docker.com/_/php/ | |
RUN apt-get update | |
RUN apt-get install -y \ | |
libfreetype6-dev \ |
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 php:5.4-apache | |
# This image is not to be used on a production server! | |
# I use it for local development on old projects (hence the PHP version). | |
# Install gd, iconv, mbstring, mcrypt, mysql, soap, sockets, and zip extensions | |
# see example at https://hub.docker.com/_/php/ | |
RUN apt-get update | |
RUN apt-get install -y \ | |
libbz2-dev \ |