Skip to content

Commit

Permalink
11.0.1: * [Docker] Updated the Dockerfile to Ubuntu 24.04 and PHP 8.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
jstanden committed Nov 20, 2024
1 parent be374fe commit a9478f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions install/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:23.10
FROM ubuntu:24.04

ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
Expand All @@ -7,25 +7,25 @@ ENV DEBIAN_FRONTEND=noninteractive
VOLUME /var/www/html/

RUN apt-get update && apt-get install -y \
php8.2-bcmath \
php8.2-curl \
php8.2-dom \
php8.2-fpm \
php8.2-gd \
php8.2-gmp \
php8.2-ldap \
php8.2-mailparse \
php8.2-mbstring \
php8.2-mysql \
php8.2-opcache \
php8.2-tidy \
php8.2-xml \
php8.2-yaml \
php8.2-zip
php8.3-bcmath \
php8.3-curl \
php8.3-dom \
php8.3-fpm \
php8.3-gd \
php8.3-gmp \
php8.3-ldap \
php8.3-mailparse \
php8.3-mbstring \
php8.3-mysql \
php8.3-opcache \
php8.3-tidy \
php8.3-xml \
php8.3-yaml \
php8.3-zip

RUN apt-get clean && rm -rf /var/lib/apt/lists/*

COPY ./_conf/www.conf /etc/php/8.2/fpm/pool.d/www.conf
COPY ./_conf/www.conf /etc/php/8.3/fpm/pool.d/www.conf
COPY --chmod=0700 ./_conf/entry.sh /

ENTRYPOINT [ "/entry.sh" ]
2 changes: 1 addition & 1 deletion install/docker/_conf/entry.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
chown www-data:www-data /var/www/html/storage \
&& chmod 0770 /var/www/html/storage \
&& php-fpm8.2 -F
&& php-fpm8.3 -F

0 comments on commit a9478f7

Please sign in to comment.