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
23
34RUN 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
67
78RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
89 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+
1221# USER nodeuser
1322RUN addgroup --gid 3000 nodegroup \
1423 && adduser --uid 3000 --home /home/nodeuser --ingroup nodegroup --shell /bin/sh --gecos "" --disabled-password nodeuser
1524USER nodeuser
1625
17- COPY --chown=nodeuser:nodeuser --chmod=755 ./start.sh /run/start.sh
18-
1926CMD ["/run/start.sh" ]
Original file line number Diff line number Diff line change 1- version : 10.3.0
1+ version : 10.3.1
You can’t perform that action at this time.
0 commit comments