docker-library / memcached

Docker Official Image packaging for memcached
http://memcached.org/
BSD 3-Clause "New" or "Revised" License
132 stars 100 forks source link

Use numeric user id to pass runAsNonRoot on Kubernetes #97

Open sathieu opened 5 months ago

sathieu commented 5 months ago

Without this, we have:

container has runAsNonRoot and image has non-numeric user (memcache), cannot verify user is non-root
LaurentGoderre commented 5 months ago

I think this would be best address in your k8s deployment rather than in the image itself

sathieu commented 5 months ago

@LaurentGoderre Yes, we can do this, and hope the UID is not changed (it probably won't).

Merging this PR will reduce friction when using this image.

tianon commented 5 months ago

Duplicate of https://github.com/docker-library/memcached/pull/79