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