mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
use 24.04 arm runners and node 22
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
### STAGE 1 BUILDING.
|
||||
FROM node:lts-alpine3.22 AS builder
|
||||
FROM node:22-alpine3.22 AS builder
|
||||
|
||||
# Any value inside one of the disable ARGs will be accepted.
|
||||
ARG DISABLE_EXTRACT="yes"
|
||||
@@ -47,12 +47,12 @@ RUN rm -rf /opt/meshcentral/meshcentral/docker /opt/meshcentral/meshcentral/node
|
||||
|
||||
### STAGE 2 PRECOMPILE DEPS MODULE
|
||||
|
||||
FROM alpine:3.22 AS dep-compiler
|
||||
FROM node:22-alpine3.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++ jq make python3 tzdata
|
||||
|
||||
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
||||
WORKDIR /opt/meshcentral/meshcentral
|
||||
@@ -63,7 +63,7 @@ RUN jq '.dependencies += {"modern-syslog": "1.2.0", "telegram": "2.26.22"}' pack
|
||||
|
||||
### STAGE 3 RUNTIME
|
||||
|
||||
FROM alpine:3.22 AS runtime
|
||||
FROM node:22-alpine3.22 AS runtime
|
||||
|
||||
# # Copy prepared app from builder stage
|
||||
COPY --from=dep-compiler /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
||||
|
||||
Reference in New Issue
Block a user