Skip to content

Commit 7b83cc8

Browse files
authored
Merge pull request #42 from weierophinney/hotfix/updated-image
Update Dockerfile to have modern toolchain
2 parents 1e630f7 + 999468e commit 7b83cc8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Dockerfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM composer:1 AS composer
22

3-
FROM php:7.4-cli
3+
FROM ubuntu:20.04
44

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

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

1818
RUN apt update \
19+
&& apt install -y software-properties-common \
20+
&& add-apt-repository -y ppa:ondrej/php \
1921
&& apt install -y \
2022
git \
2123
gnupg \
2224
libzip-dev \
2325
zip \
24-
&& docker-php-ext-install zip \
26+
php7.4-cli \
27+
php7.4-curl \
28+
php7.4-json \
29+
php7.4-mbstring \
30+
php7.4-readline \
31+
php7.4-xml \
32+
php7.4-zip \
2533
&& apt clean
2634

27-
2835
ADD composer.json /app/composer.json
2936
ADD composer.lock /app/composer.lock
3037

0 commit comments

Comments
 (0)