Skip to content

Commit

Permalink
Update dev docker image for easier contributions (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Nov 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1926a13 commit 6e24e8f
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
FROM php:7.1-cli
FROM php:7.4-cli

# Install GD
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

# Install ZIP
RUN apt-get update && apt-get install -y \
libzip-dev \
zip \
&& docker-php-ext-configure zip --with-libzip \
&& docker-php-ext-install zip
RUN install-php-extensions zip opcache

# Install tools
RUN apt-get update && apt-get install -y \
@@ -22,7 +11,3 @@ RUN apt-get update && apt-get install -y \
ENV COMPOSER_ALLOW_SUPERUSER 1
RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/bin/ --filename=composer

RUN curl -LO https://deployer.org/deployer.phar \
&& mv deployer.phar /usr/local/bin/dep \
&& chmod +x /usr/local/bin/dep

0 comments on commit 6e24e8f

Please sign in to comment.