Skip to content

COPY: treat absolute source paths as being relative to the contextdir#191

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
nalind:blahblub
Apr 6, 2021
Merged

COPY: treat absolute source paths as being relative to the contextdir#191
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
nalind:blahblub

Conversation

@nalind
Copy link
Copy Markdown
Member

@nalind nalind commented Apr 1, 2021

Source paths for COPY that look like absolute paths are relative to the context directory, so treat them as such. Fixes #139.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 1, 2021
@rhatdan
Copy link
Copy Markdown
Contributor

rhatdan commented Apr 2, 2021

LGTM
@TomSweeneyRedHat @vrothberg @saschagrunert PTAL

Source paths for COPY that look like absolute paths are relative to the
context directory, so treat them as such.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@nalind
Copy link
Copy Markdown
Member Author

nalind commented Apr 5, 2021

Added an additional test to cover the second case from #139.

@TomSweeneyRedHat
Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rhatdan
Copy link
Copy Markdown
Contributor

rhatdan commented Apr 6, 2021

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 6, 2021
@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nalind, rhatdan, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit fa85a47 into openshift:master Apr 6, 2021
@nalind nalind mentioned this pull request Apr 9, 2021
@nalind nalind deleted the blahblub branch June 8, 2021 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"COPY /blah/blub /path" does not work same way as docker

7 participants