File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 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
32
43RUN 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
76
87RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
98 apt-get install git-lfs=3.5.1 && \
9+ apt-get clean && \
1010 git lfs install
1111
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-
2112# USER nodeuser
2213RUN addgroup --gid 3000 nodegroup \
2314 && adduser --uid 3000 --home /home/nodeuser --ingroup nodegroup --shell /bin/sh --gecos "" --disabled-password nodeuser
2415USER nodeuser
2516
17+ COPY --chown=nodeuser:nodeuser --chmod=755 ./start.sh /run/start.sh
18+
2619CMD ["/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