Skip to content

Add onbuild image based on alpine #309

Closed

Description

@eljenso

The current onbuild image is based on the default node image.
It would be great to have an onbuild image which is based on the alpine version.

Activity

  1. yosifkit commented on Jan 17, 2017

    @yosifkit
    Contributor

    Onbuild images really only work on the Debian based images since they are using buildpack-deps which gives us many libraries so that most anything installed from package.json just works. The alpine images are meant to be super tiny so a user will need to install any necessary libraries or build tools before doing a npm install. We really only recommend onbuild as a starting point where most users should probably use one of the other variations and be able to add in their own custom steps.
    - adjusted from docker-library/python#96 (comment)

  2. eljenso commented on Jan 17, 2017

    @eljenso
    Author

    So adding those packages into an alpine image would contradict philosophy of alpine because it's meant to be small.
    Will close this issue then.

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