Skip to content

Commit e95a820

Browse files
chore: migrate API Docker image to debian (instead of alpine)
1 parent 195e90a commit e95a820

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

api/Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Versions
77
# hadolint ignore=DL3007
8-
FROM dunglas/frankenphp:latest-php8.3-alpine AS frankenphp_upstream
8+
FROM dunglas/frankenphp:1-php8.3 AS frankenphp_upstream
99
FROM composer/composer:2-bin AS composer_upstream
1010

1111

@@ -21,25 +21,27 @@ WORKDIR /app
2121

2222
# persistent / runtime deps
2323
# hadolint ignore=DL3018
24-
RUN apk add --no-cache \
24+
RUN apt-get update; \
25+
apt-get install --no-install-recommends -y \
2526
acl \
2627
file \
2728
gettext \
2829
git \
29-
;
30+
; \
31+
rm -rf /var/lib/apt/lists/*
3032

3133
RUN set -eux; \
32-
install-php-extensions \
34+
install-php-extensions \
3335
apcu \
3436
intl \
3537
opcache \
3638
zip \
37-
;
39+
;
3840

3941
###> recipes ###
4042
###> doctrine/doctrine-bundle ###
4143
RUN set -eux; \
42-
install-php-extensions pdo_pgsql
44+
install-php-extensions pdo_pgsql
4345
###< doctrine/doctrine-bundle ###
4446
###< recipes ###
4547

@@ -67,8 +69,8 @@ RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
6769

6870
RUN set -eux; \
6971
install-php-extensions \
70-
xdebug \
71-
;
72+
xdebug \
73+
;
7274

7375
COPY --link frankenphp/conf.d/app.dev.ini $PHP_INI_DIR/conf.d/
7476

0 commit comments

Comments
 (0)