Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 556987a

Browse files
committed
fix(docker): Change to alpine
Debian bookworm does not provide the SQLite version I want (v3.45+).
1 parent ed24b97 commit 556987a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
# Versions
4-
FROM dunglas/frankenphp:1-php8.3 AS frankenphp_upstream
4+
FROM dunglas/frankenphp:1-php8.3-alpine AS frankenphp_upstream
55

66
# Base FrankenPHP image
77
FROM frankenphp_upstream AS frankenphp_base
@@ -10,12 +10,14 @@ WORKDIR /app
1010
VOLUME /app/var/
1111

1212
# persistent / runtime deps
13-
RUN apt-get update && apt-get install -y --no-install-recommends \
14-
acl \
15-
file \
16-
gettext \
17-
git \
18-
&& rm -rf /var/lib/apt/lists/*
13+
RUN set -eux; \
14+
apk add --no-cache \
15+
acl \
16+
fcgi \
17+
file \
18+
gettext \
19+
git \
20+
;
1921

2022
RUN set -eux; \
2123
install-php-extensions \

0 commit comments

Comments
 (0)