diff --git a/6/alpine3.23/Dockerfile b/6/alpine3.23/Dockerfile index c9217537..dd0ece7f 100644 --- a/6/alpine3.23/Dockerfile +++ b/6/alpine3.23/Dockerfile @@ -84,7 +84,7 @@ RUN set -eux; \ \ # test that the optional dependencies are installed and loadable cd current; \ - gosu node node -e 'require("sqlite3"); if (!require("@tryghost/image-transform").canTransformFiles()) throw new Error("sharp not installed");' + gosu node node -e 'require("better-sqlite3"); if (!require("@tryghost/image-transform").canTransformFiles()) throw new Error("sharp not installed");' WORKDIR $GHOST_INSTALL VOLUME $GHOST_CONTENT diff --git a/6/bookworm/Dockerfile b/6/bookworm/Dockerfile index 2f60e091..1f8958d3 100644 --- a/6/bookworm/Dockerfile +++ b/6/bookworm/Dockerfile @@ -86,7 +86,7 @@ RUN set -eux; \ \ # test that the optional dependencies are installed and loadable cd current; \ - gosu node node -e 'require("sqlite3"); if (!require("@tryghost/image-transform").canTransformFiles()) throw new Error("sharp not installed");' + gosu node node -e 'require("better-sqlite3"); if (!require("@tryghost/image-transform").canTransformFiles()) throw new Error("sharp not installed");' WORKDIR $GHOST_INSTALL VOLUME $GHOST_CONTENT diff --git a/Dockerfile.template b/Dockerfile.template index f8916bd2..149e82bf 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -117,7 +117,7 @@ RUN set -eux; \ \ # test that the optional dependencies are installed and loadable cd current; \ - gosu node node -e 'require("sqlite3"); if (!require("@tryghost/image-transform").canTransformFiles()) throw new Error("sharp not installed");' + gosu node node -e 'require("better-sqlite3"); if (!require("@tryghost/image-transform").canTransformFiles()) throw new Error("sharp not installed");' WORKDIR $GHOST_INSTALL VOLUME $GHOST_CONTENT