Skip to content

Commit d37e4cc

Browse files
authored
Merge pull request #304 from acburdine/fix/sqlite
Update to 4.46.0
2 parents 16850d9 + 9ac29f2 commit d37e4cc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

4/alpine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -eux; \
2020
ENV GHOST_INSTALL /var/lib/ghost
2121
ENV GHOST_CONTENT /var/lib/ghost/content
2222

23-
ENV GHOST_VERSION 4.44.0
23+
ENV GHOST_VERSION 4.46.0
2424

2525
RUN set -eux; \
2626
mkdir -p "$GHOST_INSTALL"; \
@@ -48,14 +48,14 @@ RUN set -eux; \
4848
# see https://github.com/TryGhost/Ghost/pull/7677 for more details
4949
cd "$GHOST_INSTALL/current"; \
5050
# scrape the expected version of sqlite3 directly from Ghost itself
51-
sqlite3Version="$(node -p 'require("./package.json").optionalDependencies["@vscode/sqlite3"]')"; \
51+
sqlite3Version="$(node -p 'require("./package.json").optionalDependencies["sqlite3"]')"; \
5252
[ -n "$sqlite3Version" ]; \
5353
[ "$sqlite3Version" != 'undefined' ]; \
54-
if ! su-exec node yarn add "@vscode/sqlite3@$sqlite3Version" --force; then \
54+
if ! su-exec node yarn add "sqlite3@$sqlite3Version" --force; then \
5555
# must be some non-amd64 architecture pre-built binaries aren't published for, so let's install some build deps and do-it-all-over-again
5656
apk add --no-cache --virtual .build-deps g++ gcc libc-dev make python2 vips-dev; \
5757
\
58-
npm_config_python='python2' su-exec node yarn add "@vscode/sqlite3@$sqlite3Version" --force --build-from-source; \
58+
npm_config_python='python2' su-exec node yarn add "sqlite3@$sqlite3Version" --force --build-from-source; \
5959
\
6060
apk del --no-network .build-deps; \
6161
fi; \

4/debian/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN set -eux; \
4444
ENV GHOST_INSTALL /var/lib/ghost
4545
ENV GHOST_CONTENT /var/lib/ghost/content
4646

47-
ENV GHOST_VERSION 4.44.0
47+
ENV GHOST_VERSION 4.46.0
4848

4949
RUN set -eux; \
5050
mkdir -p "$GHOST_INSTALL"; \
@@ -72,17 +72,17 @@ RUN set -eux; \
7272
# see https://github.com/TryGhost/Ghost/pull/7677 for more details
7373
cd "$GHOST_INSTALL/current"; \
7474
# scrape the expected version of sqlite3 directly from Ghost itself
75-
sqlite3Version="$(node -p 'require("./package.json").optionalDependencies["@vscode/sqlite3"]')"; \
75+
sqlite3Version="$(node -p 'require("./package.json").optionalDependencies["sqlite3"]')"; \
7676
[ -n "$sqlite3Version" ]; \
7777
[ "$sqlite3Version" != 'undefined' ]; \
78-
if ! gosu node yarn add "@vscode/sqlite3@$sqlite3Version" --force; then \
78+
if ! gosu node yarn add "sqlite3@$sqlite3Version" --force; then \
7979
# must be some non-amd64 architecture pre-built binaries aren't published for, so let's install some build deps and do-it-all-over-again
8080
savedAptMark="$(apt-mark showmanual)"; \
8181
apt-get update; \
8282
apt-get install -y --no-install-recommends g++ gcc libc-dev libvips-dev make python2; \
8383
rm -rf /var/lib/apt/lists/*; \
8484
\
85-
npm_config_python='python2' gosu node yarn add "@vscode/sqlite3@$sqlite3Version" --force --build-from-source; \
85+
npm_config_python='python2' gosu node yarn add "sqlite3@$sqlite3Version" --force --build-from-source; \
8686
\
8787
apt-mark showmanual | xargs apt-mark auto > /dev/null; \
8888
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \

0 commit comments

Comments
 (0)