]> BookStack Code Mirror - system-cli/commitdiff
Updated docker setup
authorDan Brown <redacted>
Sat, 8 Mar 2025 17:16:35 +0000 (17:16 +0000)
committerDan Brown <redacted>
Sat, 8 Mar 2025 17:16:35 +0000 (17:16 +0000)
Updated image and PHP packages so that it works with current versions of
BookStack.
Removed deprecated version from compose.

Dockerfile
docker-compose.yml

index b257de4c37a6b7ce74dd0693036c66e50f6a008c..bada27bed870ee424c8acea21ef6f779085ea466 100644 (file)
@@ -1,11 +1,11 @@
-FROM ubuntu:22.04
+FROM ubuntu:24.04
 
 # Install system depedancies
 ARG DEBIAN_FRONTEND=noninteractive
 RUN set -xe && \
     apt-get update -yqq && \
-    apt-get install -yqq curl git mysql-client php8.1-cli php8.1-common php8.1-curl php8.1-mbstring \
-                         php8.1-xml php8.1-zip php8.1-gd php8.1-bcmath php8.1-mysql php8.1-xdebug
+    apt-get install -yqq curl git mysql-client php8.3-cli php8.3-common php8.3-curl php8.3-mbstring \
+                         php8.3-xml php8.3-zip php8.3-gd php8.3-bcmath php8.3-mysql php8.3-xdebug
 
 # Install composer to a custom location
 RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
index 04cb5ba73ccf12f85bc3a46d5caea5c364c49b23..53e9258c00b201bc0a900a1b17d7f848a929b978 100644 (file)
@@ -1,5 +1,3 @@
-version: "3.9"
-
 services:
   app:
     build: .