File tree 6 files changed +32
-0
lines changed
6 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,13 @@ updates:
54
54
commit-message :
55
55
include : " scope"
56
56
prefix : " docker"
57
+ - package-ecosystem : " docker"
58
+ directory : " /php-8.3-alpine-composer"
59
+ schedule :
60
+ interval : " weekly"
61
+ commit-message :
62
+ include : " scope"
63
+ prefix : " docker"
57
64
58
65
# Maintain dependencies for GitHub Actions
59
66
- package-ecosystem : " github-actions"
Original file line number Diff line number Diff line change 22
22
- php-8.1-jakzal-phpqa-gd
23
23
- php-8.2-alpine-composer-gd
24
24
- php-8.2-jakzal-phpqa-gd
25
+ - php-8.3-alpine-composer
25
26
26
27
steps :
27
28
- name : Set up Docker Buildx
Original file line number Diff line number Diff line change 20
20
- php-8.1-jakzal-phpqa-gd
21
21
- php-8.2-alpine-composer-gd
22
22
- php-8.2-jakzal-phpqa-gd
23
+ - php-8.3-alpine-composer
23
24
24
25
steps :
25
26
-
Original file line number Diff line number Diff line change 9
9
- [ php-8.1-jakzal-phpqa-gd] ( php-8.1-jakzal-phpqa-gd ) : Use this image with GitHub actions or Drone
10
10
- [ php-8.2-alpine-composer-gd] ( php-8.2-alpine-composer-gd ) : Use this image with GitHub actions or Drone
11
11
- [ php-8.2-jakzal-phpqa-gd] ( php-8.2-jakzal-phpqa-gd ) : Use this image with GitHub actions or Drone
12
+ - [ php-8.3-alpine-composer] ( php-8.3-alpine-composer ) : Use this image with GitHub actions or Drone
Original file line number Diff line number Diff line change
1
+ FROM php:8.3-cli-alpine
2
+
3
+ ENV COMPOSER_ALLOW_SUPERUSER=1
4
+
5
+ # copy Composer from official image
6
+ COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
7
+
8
+ # git and unzip are necessary for Composer, mysql-client will install “mysqldump” command
9
+ RUN apk add --no-cache git unzip mysql-client \
10
+ && docker-php-ext-install pdo_mysql
11
+
12
+ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev \
13
+ && apk add --no-cache libintl \
14
+ && docker-php-ext-install intl
15
+
16
+ # necessary for code coverage
17
+ RUN apk add --no-cache autoconf gcc g++ make \
18
+ && pecl install pcov && docker-php-ext-enable pcov \
19
+ && echo "pcov.enabled=0" >> $PHP_INI_DIR/php.ini
Original file line number Diff line number Diff line change
1
+ # PHP 8.3 from Alpine Linux with Composer
2
+
3
+ Use this image: ` ghcr.io/alexislefebvre/php-8.3-alpine-composer `
You can’t perform that action at this time.
0 commit comments