From 944d8e73002955fd2dde24bcb991e63b0644a6a8 Mon Sep 17 00:00:00 2001 From: Zhenya Tikhonov Date: Sun, 8 Jun 2025 18:16:37 +0400 Subject: [PATCH 1/2] Revert "feat: Align runtime images (#96)" This reverts commit 471bc831de6b6c94b3cd1937e1429649d64806b1. --- Dockerfile | 19 +++++++++++++------ service.yaml | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 33144b6..1b0e779 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/service.yaml b/service.yaml index 033cff2..498c1b4 100644 --- a/service.yaml +++ b/service.yaml @@ -1 +1 @@ -version: 10.3.0 +version: 10.2.0 From 2d8f1c627c8af8071a6bde66023787a87180998a Mon Sep 17 00:00:00 2001 From: Zhenya Tikhonov Date: Sun, 8 Jun 2025 18:16:50 +0400 Subject: [PATCH 2/2] ci: bum version --- service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.yaml b/service.yaml index 498c1b4..d76f22a 100644 --- a/service.yaml +++ b/service.yaml @@ -1 +1 @@ -version: 10.2.0 +version: 10.3.1