Skip to content

Instantly share code, notes, and snippets.

View heckad's full-sized avatar
🏠
Working from home

Kazantcev Andrey heckad

🏠
Working from home
View GitHub Profile
image: docker:stable
services:
- docker:dind
stages:
- build_base_image
- build_test_image
- test
- deploy
@heckad
heckad / php7.2.Dockerfile
Created March 13, 2019 10:20
Dockerfile for creating container with php7.2 and xdebug
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 \
@heckad
heckad / php5.4.Dockerfile
Last active October 6, 2022 16:04
Dockerfile for creating container with php5.4 and xdebug
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 \