mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 06:00:21 +08:00
Add python3 to use node-gyp
to allow native cross platform build
python3 would be required by node-gyp to natively build node add-on. This is required if we build for multi-platform
This commit is contained in:
parent
74bff84226
commit
95b6dbd140
@ -6,8 +6,11 @@ LABEL license="AGPL-3.0,https://github.com/HeyPuter/puter/blob/master/LICENSE.tx
|
||||
LABEL version="1.2.46-beta-1"
|
||||
|
||||
# Install git (required by Puter to check version)
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# python3 would be required by node-gyp to natively build node addon
|
||||
# This is required if we build for multi-platform
|
||||
RUN apk add --no-cache git python3 make g++ \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||
|
||||
# Setup working directory
|
||||
RUN mkdir -p /opt/puter/app
|
||||
WORKDIR /opt/puter/app
|
||||
|
Loading…
Reference in New Issue
Block a user