mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 14:25:22 +00:00
change nobody:nobody to nobody:nogroup to be correct for Debian based image (#2189)
(for some reason, basic Kubernetes is able to run a Debian based container with nobody:nobody but docker run and VMware WCP fail which should be expected behavior) Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com>
This commit is contained in:
committed by
Steve Kriss
parent
ee0cbcf11e
commit
dcca3c3d2b
@@ -28,6 +28,6 @@ RUN apt-get update && \
|
|||||||
|
|
||||||
ADD /bin/linux/amd64/velero /velero
|
ADD /bin/linux/amd64/velero /velero
|
||||||
|
|
||||||
USER nobody:nobody
|
USER nobody:nogroup
|
||||||
|
|
||||||
ENTRYPOINT ["/velero"]
|
ENTRYPOINT ["/velero"]
|
||||||
|
|||||||
@@ -20,6 +20,6 @@ ADD /bin/linux/ppc64le/restic /usr/bin/restic
|
|||||||
|
|
||||||
ADD /bin/linux/ppc64le/velero /velero
|
ADD /bin/linux/ppc64le/velero /velero
|
||||||
|
|
||||||
USER nobody:nobody
|
USER nobody:nogroup
|
||||||
|
|
||||||
ENTRYPOINT ["/velero"]
|
ENTRYPOINT ["/velero"]
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ LABEL maintainer="Steve Kriss <krisss@vmware.com>"
|
|||||||
|
|
||||||
ADD /bin/linux/amd64/velero-restic-restore-helper .
|
ADD /bin/linux/amd64/velero-restic-restore-helper .
|
||||||
|
|
||||||
USER nobody:nobody
|
USER nobody:nogroup
|
||||||
|
|
||||||
ENTRYPOINT [ "/velero-restic-restore-helper" ]
|
ENTRYPOINT [ "/velero-restic-restore-helper" ]
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ LABEL maintainer="Prajyot Parab <prajyot.parab@ibm.com>"
|
|||||||
|
|
||||||
ADD /bin/linux/ppc64le/velero-restic-restore-helper .
|
ADD /bin/linux/ppc64le/velero-restic-restore-helper .
|
||||||
|
|
||||||
USER nobody:nobody
|
USER nobody:nogroup
|
||||||
|
|
||||||
ENTRYPOINT [ "/velero-restic-restore-helper" ]
|
ENTRYPOINT [ "/velero-restic-restore-helper" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user