File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ RUN set -eux; \
51
51
sqlite3Version="$(node -p 'require(" ./package.json").optionalDependencies.sqlite3')" ; \
52
52
if ! su-exec node yarn add "sqlite3@$sqlite3Version" --force; then \
53
53
# 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
54
- apk add --no-cache --virtual .build-deps g++ gcc libc-dev make python3 vips-dev; \
54
+ apk add --no-cache --virtual .build-deps g++ gcc libc-dev make python2 vips-dev; \
55
55
\
56
- npm_config_python='python3 ' su-exec node yarn add "sqlite3@$sqlite3Version" --force --build-from-source; \
56
+ npm_config_python='python2 ' su-exec node yarn add "sqlite3@$sqlite3Version" --force --build-from-source; \
57
57
\
58
58
apk del --no-network .build-deps; \
59
59
fi; \
Original file line number Diff line number Diff line change 1
1
# https://docs.ghost.org/faq/node-versions/
2
2
# https://github.com/nodejs/Release (looking for "LTS")
3
3
# https://github.com/TryGhost/Ghost/blob/v4.1.2/package.json#L38
4
- FROM node:14-buster -slim
4
+ FROM node:14-bullseye -slim
5
5
6
6
# grab gosu for easy step-down from root
7
7
# https://github.com/tianon/gosu/releases
@@ -77,10 +77,10 @@ RUN set -eux; \
77
77
# 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
78
78
savedAptMark="$(apt-mark showmanual)" ; \
79
79
apt-get update; \
80
- apt-get install -y --no-install-recommends g++ gcc libc-dev libvips-dev make python3 ; \
80
+ apt-get install -y --no-install-recommends g++ gcc libc-dev libvips-dev make python2 ; \
81
81
rm -rf /var/lib/apt/lists/*; \
82
82
\
83
- npm_config_python='python3 ' gosu node yarn add "sqlite3@$sqlite3Version" --force --build-from-source --ignore-optional; \
83
+ npm_config_python='python2 ' gosu node yarn add "sqlite3@$sqlite3Version" --force --build-from-source --ignore-optional; \
84
84
\
85
85
apt-mark showmanual | xargs apt-mark auto > /dev/null; \
86
86
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
You can’t perform that action at this time.
0 commit comments