NVIDIA / NVIDIA/hpc-container-maker

Support for chmod flag in copy primitive

Open
#449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
517
Forks
106
Avg merge
1d 22h
Merged PRs (30d)
2

Description

Support for chmod flag in copy primitive.

New dockerfiles support:
COPY --chmod=0755 src dest

Simple addition of below code in copy primitive will enable it:
if self.__chmod: base_inst = base_inst + '--chmod={} '.format(self.__chmod)

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 copy primitive and its existing handling of optional flags. Check how it renders Dockerfile COPY instructions, then verify that a configured chmod value produces the requested --chmod option in the generated output.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.