Skip to content

Feature Request: Build the Docker Container "self-contained" via docker build #289

@rabejens

Description

@rabejens

The --deploy docker option does building of the Docker container a bit in a roundabout way: It compiles the application on the local machine and then copies the result into a Docker container.

However, the better practice is to have a Dockerfile that automatically sets up the build environment during the docker build process. So, one who just wants to build the application as a Docker container without wanting to install all the prerequisites just has to type docker build -t whatever .

Since both approaches have their advantages and disadvantages, I suggest an additional option --deploy docker-build.

I already made the changes necessary, I'll post a PR on this shortly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions