forked from 68publishers/webpack-encore-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (24 loc) · 981 Bytes
/
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
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
CMD tail -f /dev/null
FROM php:8.0.25-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
CMD tail -f /dev/null
FROM php:8.1.12-cli-alpine3.16 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
CMD tail -f /dev/null
FROM php:8.2.0RC6-cli-alpine3.16 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
CMD tail -f /dev/null