Skip to content

Conversation

@itscaro
Copy link

@itscaro itscaro commented Jun 17, 2018

When using image with data persisted to the image, these operations take a lot of time and are not needed if the image was correctly created.

It's possible to override the entrypoint in the new image, but I think it might be a good idea to have this in the base image.

Signed-off-by: Minh-Quan TRAN [email protected]

@itscaro itscaro closed this Jun 17, 2018
@itscaro itscaro reopened this Jun 17, 2018
@itscaro itscaro closed this Jun 18, 2018
@itscaro itscaro reopened this Jun 18, 2018
@itscaro itscaro closed this Jun 19, 2018
@itscaro itscaro reopened this Jun 19, 2018
@itscaro itscaro closed this Jul 27, 2018
@itscaro itscaro reopened this Jul 27, 2018
@yosifkit
Copy link
Member

This is addressed in #496. chown is only run on things that are not owned by the postgres user:

find "$PGDATA" \! -user postgres -exec chown postgres '{}' +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants