Skip to content

Commit

Permalink
feat: switch to Debian instead of Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Mar 7, 2024
1 parent 1f1346f commit 48bd564
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#syntax=docker/dockerfile:1.4

# Versions
FROM dunglas/frankenphp:1-alpine AS frankenphp_upstream
FROM dunglas/frankenphp:1-php8.3 AS frankenphp_upstream

# The different stages of this Dockerfile are meant to be built into separate images
# https://docs.docker.com/develop/develop-images/multistage-build/#stop-at-a-specific-build-stage
Expand All @@ -14,13 +14,13 @@ FROM frankenphp_upstream AS frankenphp_base
WORKDIR /app

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

RUN set -eux; \
install-php-extensions \
Expand Down
1 change: 0 additions & 1 deletion frankenphp/conf.d/app.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
variables_order = EGPCS
expose_php = 0
date.timezone = UTC
apc.enable_cli = 1
Expand Down

0 comments on commit 48bd564

Please sign in to comment.