mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-20 17:52:56 +00:00
Only build sqlite3 from source
Change-type: patch
This commit is contained in:
parent
7981e6becd
commit
d18292f68e
@ -40,7 +40,7 @@ RUN curl -SLO "${FATRW_LOCATION}" && \
|
|||||||
rm -f "${FATRW_ARCHIVE}"
|
rm -f "${FATRW_ARCHIVE}"
|
||||||
|
|
||||||
# Just install dev dependencies first
|
# Just install dev dependencies first
|
||||||
RUN npm ci --build-from-source --sqlite=/usr/lib
|
RUN npm ci --build-from-source=sqlite3 --sqlite=/usr/lib
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
# Journal access.
|
# Journal access.
|
||||||
@ -173,7 +173,7 @@ RUN npm ci \
|
|||||||
--omit=dev \
|
--omit=dev \
|
||||||
--omit=optional \
|
--omit=optional \
|
||||||
--unsafe-perm \
|
--unsafe-perm \
|
||||||
--build-from-source \
|
--build-from-source=sqlite3 \
|
||||||
--sqlite=/usr/lib \
|
--sqlite=/usr/lib \
|
||||||
&& npm cache clean --force \
|
&& npm cache clean --force \
|
||||||
# For some reason this doesn't get cleared with the other
|
# For some reason this doesn't get cleared with the other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user