Skip to content

Commit 371ce7b

Browse files
committed
Add missing distutils to fix builds on some architectures
Like arm32v7 and arm32v6 ``` File "/var/lib/ghost/versions/5.104.2/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> from distutils.version import StrictVersion ModuleNotFoundError: No module named 'distutils' ```
1 parent 980d114 commit 371ce7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -eux; \
9696
installCmd='gosu node yarn add "$package" --force'; \
9797
if ! eval "$installCmd"; then \
9898
# 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
99-
virtualPackages='g++ make python3'; \
99+
virtualPackages='g++ make python3 py3-setuptools'; \
100100
case "$package" in \
101101
# TODO sharp@*) virtualPackages="$virtualPackages pkgconf vips-dev"; \
102102
sharp@*) echo >&2 "sorry: libvips 8.12.1 in Alpine 3.15 is not new enough (8.12.2+) for sharp 0.30 😞"; continue ;; \

0 commit comments

Comments
 (0)