File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ----------------------
2+ # The FPM base container
3+ # ----------------------
4+ FROM php:8.4-cli-alpine AS dev
5+
6+ RUN apk add --no-cache --virtual .build-deps \
7+ $PHPIZE_DEPS
8+
9+ # Cleanup apk cache and temp files
10+ RUN rm -rf /var/cache/apk/* /tmp/*
11+
12+ # ----------------------
13+ # Composer install step
14+ # ----------------------
15+
16+ # Get latest Composer
17+ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
18+
19+ # ----------------------
20+ # The FPM production container
21+ # ----------------------
22+ FROM dev
Original file line number Diff line number Diff line change 1+ # ----------------------
2+ # The FPM base container
3+ # ----------------------
4+ FROM php:8.5-cli-alpine AS dev
5+
6+ RUN apk add --no-cache --virtual .build-deps \
7+ $PHPIZE_DEPS
8+
9+ # Cleanup apk cache and temp files
10+ RUN rm -rf /var/cache/apk/* /tmp/*
11+
12+ # ----------------------
13+ # Composer install step
14+ # ----------------------
15+
16+ # Get latest Composer
17+ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
18+
19+ # ----------------------
20+ # The FPM production container
21+ # ----------------------
22+ FROM dev
Original file line number Diff line number Diff line change @@ -51,6 +51,32 @@ services:
5151 networks :
5252 - php-opentsdb-client-lib
5353
54+ php84 :
55+ container_name : php-opentsdb-client-lib-php-84
56+ image : php-opentsdb-client-lib-84
57+ build :
58+ context : ./
59+ dockerfile : ./.docker/php84.Dockerfile
60+ tty : true
61+ working_dir : /app
62+ volumes :
63+ - ./:/app
64+ networks :
65+ - php-opentsdb-client-lib
66+
67+ php85 :
68+ container_name : php-opentsdb-client-lib-php-85
69+ image : php-opentsdb-client-lib-85
70+ build :
71+ context : ./
72+ dockerfile : ./.docker/php85.Dockerfile
73+ tty : true
74+ working_dir : /app
75+ volumes :
76+ - ./:/app
77+ networks :
78+ - php-opentsdb-client-lib
79+
5480 opentsdb :
5581 container_name : php-opentsdb-client-lib-opentsdb
5682 image : petergrace/opentsdb-docker:latest
You can’t perform that action at this time.
0 commit comments