Skip to content

feature: add support to install os package #55

@tanmoysrt

Description

@tanmoysrt

Is your feature request related to a problem? Please describe

Currently, the docker images don't had support for accept input from user to install external os packages.
To do this, users need always to edit the Dockerfile and update the Dockerfile to install os packages, which is not a great user experience.

Describe the solution you'd like

We like to take inspiration from Heroku or other buildpack-based hosting platforms as a solution.
The user can provide the names of the packages in a file Aptfile, and when building the image we will install the os packages.

Additional Context

We can install the packages from AptFile file using this command

test -f AptFile && xargs -a AptFile apt install -yqq || true

We can pass preinstallation commands as well from SetupCommand file using this command

test -f SetupCommand && while read -r cmd; do eval "$cmd"; done < SetupCommand || true

Are you working on this?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions