mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-10-29 15:25:01 -04:00
without jq
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
0edfe5ab4b
commit
f211557f1c
@ -48,13 +48,17 @@ FROM alpine:3.22 AS dep-compiler
|
||||
RUN apk update && \
|
||||
echo -e "----------\nINSTALLING ALPINE PACKAGES...\n----------"; \
|
||||
apk add --no-cache --update \
|
||||
bash gcc g++ jq make nodejs npm python3 tzdata
|
||||
bash gcc g++ make nodejs npm python3 tzdata
|
||||
|
||||
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
||||
WORKDIR /opt/meshcentral
|
||||
|
||||
RUN cat /opt/meshcentral/package.json
|
||||
|
||||
RUN node -e "let pkg=require('./package.json');pkg.dependencies['modern-syslog']='1.2.0';pkg.dependencies['telegram']='2.26.22';require('fs').writeFileSync('package.json',JSON.stringify(pkg,null,2));"
|
||||
|
||||
RUN cat /opt/meshcentral/package.json
|
||||
|
||||
# RUN jq '.dependencies["modern-syslog"] = "1.2.0"' package.json > tmp.$$.json \
|
||||
# && mv tmp.$$.json package.json \
|
||||
# && npm i --package-lock-only \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user