flyway/flyway-docker

Add rx flags in order to make it easy to run as random UID

davidkarlsen opened this issue · 3 comments

It would be nice if you can add chmod -R a+rx /flyway (or at least chmod a+rx /flyway/flyway) in order to make the image runnable by any UID. Typically one runs under a restricted UID on various k8s platforms, and in particular OpenShift assigns a high-range UID per namespace, as described here: https://cloud.redhat.com/blog/a-guide-to-openshift-and-uids

@davidkarlsen is this for use of Flyway Community or of Flyway Teams?

If this is for Teams, does docker pull redgate/flyway cause you the same issue?

@davidkarlsen is this for use of Flyway Community or of Flyway Teams?

If this is for Teams, does docker pull redgate/flyway cause you the same issue?

@Barry-RG
teams - but both images have the same issue which is a deal-breaker for openshift users:

docker run --rm -u 9999 redgate/flyway
exec /flyway/flyway: permission denied