Skip to content

Commit 944d8e7

Browse files
committed
Revert "feat: Align runtime images (#96)"
This reverts commit 471bc83.
1 parent 471bc83 commit 944d8e7

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

Dockerfile

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
FROM debian:bookworm-20250407-slim
1+
#moving to ubuntu instead of debian to solve high vulnerabilities
2+
FROM ubuntu:noble-20240605
23

34
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
67

78
RUN 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
1322
RUN addgroup --gid 3000 nodegroup \
1423
&& adduser --uid 3000 --home /home/nodeuser --ingroup nodegroup --shell /bin/sh --gecos "" --disabled-password nodeuser
1524
USER nodeuser
1625

17-
COPY --chown=nodeuser:nodeuser --chmod=755 ./start.sh /run/start.sh
18-
1926
CMD ["/run/start.sh"]

service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 10.3.0
1+
version: 10.2.0

0 commit comments

Comments
 (0)