Commit Graph

32 Commits

Author SHA1 Message Date
si458
ac27034542 update packages
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-10-17 20:45:11 +01:00
si458
f7c79166da fix dockerfile translate
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-10 20:14:08 +01:00
si458
2b5337329a remove minify-js use html-minifier instead #6357
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-10 20:01:10 +01:00
Simon Smith
ef6fd23a4f
Fix package installs and set node 20 for docker (#5692)
* fix install packages and set docker to node 20

Signed-off-by: si458 <simonsmith5521@gmail.com>

* missed a few no-package-lock and no-save

Signed-off-by: si458 <simonsmith5521@gmail.com>

* use --save-exact and only install missing modules

Signed-off-by: si458 <simonsmith5521@gmail.com>

---------

Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-01-13 10:52:59 -08:00
Stuart Wyatt
64bef74317
Align and specify NPM module versions (#5685)
The Dockerfile specifies NPM modules to be installed.  However, some do not specify a version, so the latest is installed.  Later in meshcentral.js mainStart() specific versions are required.  If they don't match the latest version, all modules will be reinstalled to get the specific versions.

#5684 Soft version conflict on NPM modules causes NPM modules to be installed on startup in Docker
#5545 Docker on Debian 11 fails on version 1.1.15 and 1.1.16 giving NPM errors
#5681 InstallModules() installs all modules, not just missing modules (regression)
2024-01-11 17:49:12 -08:00
Simon Smith
275119fc7d add python to docker image for syslogtcp #5546
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2024-01-10 12:22:22 +00:00
Simon Smith
4c6696c0f7 add run args to docker
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-09-24 15:23:28 +00:00
tryao
d2d6e95dd9 fix(docker): allow usage of external mongodb 2023-03-08 11:30:33 +08:00
Sherif Metwally
269d4dfbed
Updated MongoDB client version in Dockerfile
Sync MongoDB version in Dockerfile with main, so no runtime installation happens on launch of Docker container.
2023-02-05 12:01:36 +00:00
Sherif Metwally
27c0a14ec6
Update Dockerfile
preinstall the updated version of mongodb tools `mongodb@4.12.1`
2022-12-22 21:14:07 +00:00
Sherif Metwally
37e602e689 fix more occurrences of meshcentral-backup typos and minor markdown lint fixes 2022-12-10 09:24:01 +02:00
Simon Schön
1b4deddd07
Added 'yubikeyotp' to pre-installed libraries 2022-11-17 22:49:21 +01:00
Alessandro Uffreduzzi
44affd39bf adjust dockerfile to support multiplatform build 2022-11-16 17:43:00 +01:00
Simon Smith
9d3828302b
use latest mongodb 2022-09-03 10:25:03 +01:00
Simon Smith
69b616bf76
add timezone support to docker 2022-07-31 14:04:16 +01:00
Simon Schön
c1401cf6db
[docker] added optional build argument PREINSTALL_LIBS 2022-07-23 13:35:21 +02:00
Simon Schön
558fe0ad64
[docker] added SESSION_KEY environment variable for initial configuration 2022-07-23 13:22:55 +02:00
Simon Schön
e913928d78
[docker] added CONFIG_FILE environment variable to optionally use a different config.json file 2022-07-23 13:21:19 +02:00
Simon Schön
6815c5d83d
[docker] changed baseimage to alpine:latest 2022-07-23 13:17:05 +02:00
Simon Smith
d7e59b4868 fix dockerfile 2022-07-22 17:50:33 +01:00
Simon Smith
456b876ff7 add docker release action 2022-07-22 16:21:29 +01:00
Simon Schön
cf553d1a0f bugfix: run 'node translate.js extractall' only when DISABLE_TRANSLATE is not set 2022-06-09 21:25:01 +02:00
Simon Schön
5c8f8c611f added build arguments to optionally disable minification/translation of files 2022-06-08 14:21:23 +02:00
Simon Schön
dc1b4f5ce2 optimized Dockerfile for ci/cd pipelines 2022-06-08 02:46:40 +02:00
Simon Schön
0b11aa9392 changed installation of mongodb-tools to optional 2022-06-07 14:56:02 +02:00
Simon Schön
908059a6f5 changed baseimage to alpine; exposed intel amt port (4433) 2022-06-07 14:53:16 +02:00
Simon Schön
11c3484c97 added volumes for advanced site customization and backups 2022-06-06 19:40:49 +02:00
Simon Schön
bdb244b8d3 added mongodb-tools (mongodump) for autoBackup-option 2022-06-06 19:40:16 +02:00
Simon Schön
118044bcf3 use meshcentral files from local repository instead of the npm module 2022-06-06 19:39:36 +02:00
Simon Smith
915fb3bf15
Update Dockerfile
switch to node slim, 50% file size reduction!
2022-05-21 21:29:40 +01:00
Einar Stenberg
c81be50a6f
add nedb dependency to docker image
fixes problems with plugins as referenced here https://github.com/ryanblenis/MeshCentral-ScriptTask/issues/23
2021-12-12 22:04:21 +01:00
Einar Stenberg
7eb4b80945
Update and rename Dockerfile to docker/Dockerfile 2021-11-02 15:31:56 +01:00