update packages in docker
Signed-off-by: si458 <simonsmith5521@gmail.com>
si458 committed
Aug 4, 2025 at 22:29 UTC
8f4a98a7813726e575bab7603dd1dfcd5a071d94
3 files changed
+6
-6
docker/Dockerfile
+3
-3
@@ -1,5 +1,5 @@
1
### STAGE 1 BUILDING.
2
-FROM node:lts-alpine3.21 AS builder
2
+FROM node:lts-alpine3.22 AS builder
3
4
# Any value inside one of the disable ARGs will be accepted.
5
ARG DISABLE_MINIFY="yes"
@@ -42,7 +42,7 @@ RUN rm -rf /opt/meshcentral/meshcentral/node_modules
42
43
### STAGE 2 BUILDING.
44
45
-FROM alpine:3.21
45
+FROM alpine:3.22
46
47
# copy files from builder-image
48
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
@@ -121,7 +121,7 @@ RUN case "$PREINSTALL_LIBS" in \
121
true|yes|TRUE|YES) \
122
cd meshcentral && \
123
echo -e "----------\nPREINSTALLING LIBRARIES...\n----------"; \
124
- npm install ssh2@1.16.0 nodemailer@6.10.0 image-size@2.0.1 wildleek@2.0.0 otplib@12.0.1 yubikeyotp@0.2.0;; \
124
+ npm install ssh2@1.16.0 nodemailer@6.10.1 image-size@2.0.2 wildleek@2.0.0 otplib@12.0.1 yubikeyotp@0.2.0;; \
125
false|no|FALSE|NO) \
126
echo "Not pre-installing libraries.";; \
127
*) \
meshcentral.js
+1
-1
@@ -4344,7 +4344,7 @@ function mainStart() {
4344
if (config.settings.vault != null) { modules.push('node-vault@0.10.2'); } // Add official HashiCorp's Vault module.
4345
if ((config.settings.plugins != null) && (config.settings.plugins.proxy != null)) { modules.push('https-proxy-agent@7.0.2'); } // Required for HTTP/HTTPS proxy support
4346
else if (config.settings.xmongodb != null) { modules.push('mongojs@3.1.0'); } // Add MongoJS, old driver.
4347
- if (nodemailer || ((config.smtp != null) && (config.smtp.name != 'console')) || (config.sendmail != null)) { modules.push('nodemailer@6.9.16'); } // Add SMTP support
4347
+ if (nodemailer || ((config.smtp != null) && (config.smtp.name != 'console')) || (config.sendmail != null)) { modules.push('nodemailer@6.10.1'); } // Add SMTP support
4348
if (sendgrid || (config.sendgrid != null)) { modules.push('@sendgrid/mail'); } // Add SendGrid support
4349
if ((args.translate || args.dev) && (Number(process.version.match(/^v(\d+\.\d+)/)[1]) >= 16)) { modules.push('jsdom@22.1.0'); modules.push('esprima@4.0.1'); modules.push('html-minifier-terser@7.2.0'); } // Translation support
4350
if (typeof config.settings.crowdsec == 'object') { modules.push('@crowdsec/express-bouncer@0.1.0'); } // Add CrowdSec bounser module (https://www.npmjs.com/package/@crowdsec/express-bouncer)
package-lock.json
+2
-2
@@ -1,12 +1,12 @@
1
{
2
"name": "meshcentral",
3
- "version": "1.1.47",
3
+ "version": "1.1.48",
4
"lockfileVersion": 3,
5
"requires": true,
6
"packages": {
7
"": {
8
"name": "meshcentral",
9
- "version": "1.1.47",
9
+ "version": "1.1.48",
10
"license": "Apache-2.0",
11
"dependencies": {
12
"@seald-io/nedb": "4.0.4",