Skip to content

hook for initialisation scripts #52

Closed

Description

@anentropic

it'd be great to have a hook in entrypoint.sh for running some pre-startup init scripts, for configuring db users etc

like in the PostgreSQL one here:
https://github.com/docker-library/postgres/blob/cd294bf8dfdf4a74b2077aa6413fa579f9bf07de/9.3/docker-entrypoint.sh#L76

I'm happy to make a pull request based on above if you agree the approach?

Activity

  1. anentropic commented on Sep 22, 2015

    @anentropic
    Author

    @anilkun yes the point is build a hook into that entrypoint script file

    otherwise you have to copy and paste the entrypoint script into your project and work out how to write your own hook code

    see my PR, they do the same thing in the Postgres image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions