feat(DockerBuilder): only COPY files if they have changed

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, typescript

Research direction

Start by locating DockerBuilder and reviewing how COPY and ADD inputs are handled. Determine how changed files are identified and verify that unchanged files are skipped while changed files are still copied; the issue names no files or tests, so the needed coverage must be located first.

Written by the indexing model from the issue text.

Description

enhancement

To be consistent with Docker we could only COPY and ADD files if they have changed. This would be an optimisation and would be non-trivial to implement so is probably low priority.

Dominant language
TypeScript
Stars
124
Forks
10
Avg merge
3h 28m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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.

More from stencila/dockta

All issues in stencila/dockta

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.