Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cdi-cloner-container for
openSUSE:Factory checked in at 2022-10-14 15:42:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cdi-cloner-container (Old)
and /work/SRC/openSUSE:Factory/.cdi-cloner-container.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdi-cloner-container"
Fri Oct 14 15:42:09 2022 rev:9 rq:1010516 version:unknown
Changes:
--------
---
/work/SRC/openSUSE:Factory/cdi-cloner-container/cdi-cloner-container.changes
2022-08-05 19:52:20.325662929 +0200
+++
/work/SRC/openSUSE:Factory/.cdi-cloner-container.new.2275/cdi-cloner-container.changes
2022-10-14 15:43:15.631990660 +0200
@@ -1,0 +2,6 @@
+Thu Oct 13 16:38:42 UTC 2022 - Vasily Ulyanov <[email protected]>
+
+- Create an unprivileged user to run as non-root
+- Align the installed packages with the upstream
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.k70Dkz/_old 2022-10-14 15:43:16.043991348 +0200
+++ /var/tmp/diff_new_pack.k70Dkz/_new 2022-10-14 15:43:16.047991355 +0200
@@ -24,9 +24,14 @@
RUN zypper -n install \
containerized-data-importer-cloner \
+ curl \
+ shadow \
tar \
util-linux && \
- zypper clean -a
+ zypper clean -a && \
+ useradd -u 1001 --create-home -s /bin/bash cdi-cloner
+WORKDIR /home/cdi-cloner
+USER 1001
ENTRYPOINT [ "/usr/bin/cloner_startup.sh" ]