Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions php56.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
FROM php:5.6-cli

COPY --from=composer:2.2.12 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.2.23 /usr/bin/composer /usr/bin/composer

RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list \
&& sed -i s/security.debian.org/archive.debian.org/g /etc/apt/sources.list \
&& sed -i /stretch-updates/d /etc/apt/sources.list

RUN apt-get update && apt-get install -y \
zip \
&& rm -rf /var/cache/apt/
&& rm -rf /var/cache/apt/lists/*

RUN pecl install xdebug-2.5.5 \
&& docker-php-ext-enable xdebug
Expand Down