Merge pull request #9511 from bassco/docker-build-deps-vscode-sqlite3
fix(docker): add deps for @vscode/sqlite3
This commit is contained in:
@@ -9,7 +9,8 @@ WORKDIR /tmp
|
||||
|
||||
# update package sources
|
||||
# `--virtual` is used to enable removal of these dependencies as a named group
|
||||
# - python: required by node-gyp
|
||||
# - python3: required by node-gyp
|
||||
# - g++: required to build @vscode/sqlite3
|
||||
# - pixman: required by node-canvas
|
||||
# - pkgconfig: required by pixman
|
||||
# --------------------------------------------
|
||||
@@ -32,7 +33,8 @@ WORKDIR /tmp
|
||||
RUN apk update \
|
||||
&& apk add --no-cache \
|
||||
--virtual ${APK_VIRTUAL_NAME} \
|
||||
python \
|
||||
python3 \
|
||||
g++ \
|
||||
pixman \
|
||||
pkgconfig \
|
||||
alpine-sdk \
|
||||
@@ -51,6 +53,10 @@ RUN wget -qO- ${VALE_INSTALL_URL} \
|
||||
| tar xvz -C /bin vale \
|
||||
&& chmod +x /bin/vale
|
||||
|
||||
# needed for sqlite3 build that needs python
|
||||
RUN ln -s /usr/bin/python3 /usr/bin/python && \
|
||||
ln -s /usr/bin/pip3 /usr/bin/pip
|
||||
|
||||
RUN mkdir /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user