NVIDIA / NVIDIA/hpc-container-maker
Support for chmod flag in copy primitive
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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