Skip to content

Commit

Permalink
Merge pull request #42 from weierophinney/hotfix/updated-image
Browse files Browse the repository at this point in the history
Update Dockerfile to have modern toolchain
  • Loading branch information
Ocramius authored Aug 12, 2020
2 parents 1e630f7 + 999468e commit 7b83cc8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM composer:1 AS composer

FROM php:7.4-cli
FROM ubuntu:20.04

COPY --from=composer /usr/bin/composer /usr/bin/composer

Expand All @@ -16,15 +16,22 @@ LABEL "maintainer"="https://github.com/laminas/technical-steering-committee/"
WORKDIR /app

RUN apt update \
&& apt install -y software-properties-common \
&& add-apt-repository -y ppa:ondrej/php \
&& apt install -y \
git \
gnupg \
libzip-dev \
zip \
&& docker-php-ext-install zip \
php7.4-cli \
php7.4-curl \
php7.4-json \
php7.4-mbstring \
php7.4-readline \
php7.4-xml \
php7.4-zip \
&& apt clean


ADD composer.json /app/composer.json
ADD composer.lock /app/composer.lock

Expand Down

0 comments on commit 7b83cc8

Please sign in to comment.