File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM composer:1 AS composer
2
2
3
- FROM php:7.4-cli
3
+ FROM ubuntu:20.04
4
4
5
5
COPY --from=composer /usr/bin/composer /usr/bin/composer
6
6
@@ -16,15 +16,22 @@ LABEL "maintainer"="https://github.com/laminas/technical-steering-committee/"
16
16
WORKDIR /app
17
17
18
18
RUN apt update \
19
+ && apt install -y software-properties-common \
20
+ && add-apt-repository -y ppa:ondrej/php \
19
21
&& apt install -y \
20
22
git \
21
23
gnupg \
22
24
libzip-dev \
23
25
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 \
25
33
&& apt clean
26
34
27
-
28
35
ADD composer.json /app/composer.json
29
36
ADD composer.lock /app/composer.lock
30
37
You can’t perform that action at this time.
0 commit comments