Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
FROM debian:bookworm-20250407-slim
#moving to ubuntu instead of debian to solve high vulnerabilities
FROM ubuntu:noble-20240605

RUN apt-get update && \
apt-get install -y curl bash openssl git && \
apt-get clean
apt-get install -y curl bash openssl git && \
apt-get clean

RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
apt-get install git-lfs=3.5.1 && \
apt-get clean && \
git lfs install

#installing busybox
ARG BUSYBOX_VERSION=1:1.36.1-6ubuntu3

RUN apt-get install busybox=${BUSYBOX_VERSION} && \
ln -s /bin/busybox /usr/bin/[[

COPY ./start.sh /run/start.sh
RUN chmod +x /run/start.sh

# USER nodeuser
RUN addgroup --gid 3000 nodegroup \
&& adduser --uid 3000 --home /home/nodeuser --ingroup nodegroup --shell /bin/sh --gecos "" --disabled-password nodeuser
USER nodeuser

COPY --chown=nodeuser:nodeuser --chmod=755 ./start.sh /run/start.sh

CMD ["/run/start.sh"]
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 10.3.0
version: 10.3.1
Loading