Skip to content

Commit 6fa655e

Browse files
updated busybox, git-lfs, pam packages, systemd
1 parent ce7d0c0 commit 6fa655e

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Dockerfile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
#moving to ubuntu instead of debian to solve high vulnerabilities
2-
FROM ubuntu:noble-20240605
2+
FROM ubuntu:noble-20250529
33

44
RUN apt-get update && \
55
apt-get install -y curl bash openssl git && \
66
apt-get clean
77

88
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
9-
apt-get install git-lfs=3.5.1 && \
9+
apt-get install git-lfs=3.6.1 && \
1010
git lfs install
1111

1212
#installing busybox
13-
ARG BUSYBOX_VERSION=1:1.36.1-6ubuntu3
13+
ARG BUSYBOX_VERSION=1:1.36.1-6ubuntu3.1
14+
15+
RUN apt-get update && \
16+
apt-get install busybox=${BUSYBOX_VERSION} && \
17+
ln -s /bin/busybox /usr/bin/[[ && \
18+
apt-get reinstall -y libpam-modules systemd
1419

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

1821
COPY ./start.sh /run/start.sh
1922
RUN chmod +x /run/start.sh
2023

21-
# USER nodeuser
24+
2225
RUN addgroup --gid 3000 nodegroup \
2326
&& adduser --uid 3000 --home /home/nodeuser --ingroup nodegroup --shell /bin/sh --gecos "" --disabled-password nodeuser
24-
USER nodeuser
27+
#USER nodeuser
2528

2629
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.1
1+
version: 10.3.2

0 commit comments

Comments
 (0)