Skip to content

Commit

Permalink
chore: migrate API Docker image to debian (instead of alpine)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Mar 7, 2024
1 parent d4fc707 commit ba6c08f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions api/Dockerfile
Expand Up @@ -5,7 +5,7 @@

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


Expand All @@ -21,25 +21,27 @@ WORKDIR /app

# persistent / runtime deps
# hadolint ignore=DL3018
RUN apk add --no-cache \
RUN apt-get update; \
apt-get install --no-install-recommends -y \
acl \
file \
gettext \
git \
;
; \
rm -rf /var/lib/apt/lists/*

RUN set -eux; \
install-php-extensions \
install-php-extensions \
apcu \
intl \
opcache \
zip \
;
;

###> recipes ###
###> doctrine/doctrine-bundle ###
RUN set -eux; \
install-php-extensions pdo_pgsql
install-php-extensions pdo_pgsql
###< doctrine/doctrine-bundle ###
###< recipes ###

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

RUN set -eux; \
install-php-extensions \
xdebug \
;
xdebug \
;

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

Expand Down

0 comments on commit ba6c08f

Please sign in to comment.