drakkar-lig / drakkar-lig/walt-python-packages

Add a --target option to walt image build

Open Beginner friendly
#148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hello, donc tu voudrais avoir un seul Dockerfile pour les 2 images et utiliser une option "--target" pour sélectionner le "stage" à construire ?
Effectivement on ne fournit pas cette option "--target" dans "walt image build" pour l'instant. Mais je pourrais la rajouter sans trop d'effort.

Add a --target to walt image build command to support multistage dockerfiles. Thanks alot!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the walt image build CLI entry point and how it forwards build options to Docker. Add support for selecting a stage in a multistage Dockerfile with --target, then verify that walt image build completes for the requested stage.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
cli, devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.