File tree 2 files changed +7
-14
lines changed
2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 1
- # moving to ubuntu instead of debian to solve high vulnerabilities
2
- FROM ubuntu:noble-20240605
1
+ FROM debian:bookworm-20250407-slim
3
2
4
3
RUN apt-get update && \
5
- apt-get install -y curl bash openssl git && \
6
- apt-get clean
4
+ apt-get install -y curl bash openssl git && \
5
+ apt-get clean
7
6
8
7
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
9
8
apt-get install git-lfs=3.5.1 && \
9
+ apt-get clean && \
10
10
git lfs install
11
11
12
- # installing busybox
13
- ARG BUSYBOX_VERSION=1:1.36.1-6ubuntu3
14
-
15
- RUN apt-get install busybox=${BUSYBOX_VERSION} && \
16
- ln -s /bin/busybox /usr/bin/[[
17
-
18
- COPY ./start.sh /run/start.sh
19
- RUN chmod +x /run/start.sh
20
-
21
12
# USER nodeuser
22
13
RUN addgroup --gid 3000 nodegroup \
23
14
&& adduser --uid 3000 --home /home/nodeuser --ingroup nodegroup --shell /bin/sh --gecos "" --disabled-password nodeuser
24
15
USER nodeuser
25
16
17
+ COPY --chown=nodeuser:nodeuser --chmod=755 ./start.sh /run/start.sh
18
+
26
19
CMD ["/run/start.sh" ]
Original file line number Diff line number Diff line change 1
- version : 10.2 .0
1
+ version : 10.3 .0
You can’t perform that action at this time.
0 commit comments