Accepting request 1086656 from home:vulyanov:branches:Virtualization

- Make the WORKDIR aligned with the upstream
  The cloner pod is configured to run as a different non-root user and
  an attempt to access /home/cdi-cloner fails with EACCES.

OBS-URL: https://build.opensuse.org/request/show/1086656
OBS-URL: https://build.opensuse.org/package/show/Virtualization/cdi-cloner-container?expand=0&rev=19
This commit is contained in:
Vasily Ulyanov 2023-05-12 05:57:10 +00:00 committed by Git OBS Bridge
parent e2f389ad5c
commit 4e86578e36
2 changed files with 8 additions and 1 deletions

View File

@ -31,6 +31,6 @@ RUN zypper -n install \
zypper clean -a && \ zypper clean -a && \
useradd -u 1001 --create-home -s /bin/bash cdi-cloner useradd -u 1001 --create-home -s /bin/bash cdi-cloner
WORKDIR /home/cdi-cloner WORKDIR /usr/bin
USER 1001 USER 1001
ENTRYPOINT [ "/usr/bin/cloner_startup.sh" ] ENTRYPOINT [ "/usr/bin/cloner_startup.sh" ]

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri May 12 05:05:45 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Make the WORKDIR aligned with the upstream
The cloner pod is configured to run as a different non-root user and
an attempt to access /home/cdi-cloner fails with EACCES.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 13 16:38:42 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com> Thu Oct 13 16:38:42 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>