-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
69 lines (50 loc) · 1.87 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
FROM php:7.4.33-cli-alpine3.16 AS php74
CMD ["/bin/sh"]
WORKDIR /var/www/html
RUN apk add --no-cache --update git
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN apk add --no-cache ${PHPIZE_DEPS} \
&& pecl install pcov \
&& pecl install uopz-6.1.2 \
&& docker-php-ext-enable pcov uopz
CMD tail -f /dev/null
FROM php:8.0.28-cli-alpine3.16 AS php80
CMD ["/bin/sh"]
WORKDIR /var/www/html
RUN apk add --no-cache --update git
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN apk add --no-cache ${PHPIZE_DEPS} \
&& pecl install pcov \
&& pecl install uopz-7.1.1 \
&& docker-php-ext-enable pcov uopz
CMD tail -f /dev/null
FROM php:8.1.25-cli-alpine3.18 AS php81
CMD ["/bin/sh"]
WORKDIR /var/www/html
RUN apk add --no-cache --update git
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN apk add --no-cache ${PHPIZE_DEPS} \
&& pecl install pcov \
&& pecl install uopz-7.1.1 \
&& docker-php-ext-enable pcov uopz
CMD tail -f /dev/null
FROM php:8.2.24-cli-alpine3.20 AS php82
CMD ["/bin/sh"]
WORKDIR /var/www/html
RUN apk add --no-cache --update git
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN apk add --no-cache ${PHPIZE_DEPS} \
&& pecl install pcov \
&& pecl install uopz-7.1.1 \
&& docker-php-ext-enable pcov uopz
CMD tail -f /dev/null
FROM php:8.3.12-cli-alpine3.20 AS php83
CMD ["/bin/sh"]
WORKDIR /var/www/html
RUN apk add --no-cache --update git
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN apk add --no-cache ${PHPIZE_DEPS} \
&& pecl install pcov \
&& pecl install uopz-7.1.1 \
&& docker-php-ext-enable pcov uopz
CMD tail -f /dev/null