Skip to content

Commit 0b355b5

Browse files
authored
Change base image and update package installation
1 parent 8b3fccf commit 0b355b5

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

dockerfile/daemon.dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ RUN apk add --no-cache wget &&\
1414
wget --input-file=lib-urls.txt --directory-prefix=production-code/daemon/lib/ &&\
1515
chmod a+x production-code/daemon/lib/*
1616

17-
FROM eclipse-temurin:${EMBEDDED_JAVA_VERSION}-jdk
17+
#FROM eclipse-temurin:${EMBEDDED_JAVA_VERSION}-jdk
18+
FROM ghcr.io/linuxserver/baseimage-debian:bookworm
1819

1920
ARG DEBIAN_FRONTEND=noninteractive
20-
RUN apt-get update && apt-get install -y curl &&\
21+
RUN apt-get update && \
22+
apt-get install -y --no-install-recommends \
23+
curl \
24+
temurin-${EMBEDDED_JAVA_VERSION}-jre &&\
2125
curl -fsSL https://deb.nodesource.com/setup_20.x | bash &&\
22-
apt-get update && apt-get install -y nodejs && apt-get clean
26+
apt-get update && \
27+
apt-get install -y --no-install-recommends \
28+
nodejs
2329

2430
WORKDIR /opt/mcsmanager/daemon
2531

@@ -33,4 +39,4 @@ ENV MCSM_INSTANCES_BASE_PATH=/opt/mcsmanager/daemon/data/InstanceData
3339

3440
VOLUME ["/opt/mcsmanager/daemon/data", "/opt/mcsmanager/daemon/logs"]
3541

36-
CMD [ "node", "app.js", "--max-old-space-size=8192" ]
42+
CMD [ "node", "app.js", "--max-old-space-size=8192" ]

0 commit comments

Comments
 (0)