Add .copy-files file which copies over files from /home/tooling to /h… - #228
Closed
dkwon17 wants to merge 1 commit into
Closed
Add .copy-files file which copies over files from /home/tooling to /h…#228dkwon17 wants to merge 1 commit into
dkwon17 wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dkwon17 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
svor
reviewed
Aug 8, 2025
|
|
||
| COPY --chown=0:0 entrypoint.sh / | ||
| COPY --chown=0:0 .stow-local-ignore /home/tooling/ | ||
| COPY --chown=0:0 etc/.copy-files /home/tooling/ |
Collaborator
There was a problem hiding this comment.
Suggested change
| COPY --chown=0:0 etc/.copy-files /home/tooling/ | |
| COPY --chown=0:0 .copy-files /home/tooling/ |
Or need to move .copy-files into developer-images/base/ubi9/etc folder
Collaborator
Author
There was a problem hiding this comment.
Oops, thank you, fixed
…ome/user in the entrypoint Signed-off-by: David Kwon <dakwon@redhat.com>
Collaborator
Author
|
Closing in favour of: #231 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ome/user in the entrypoint
This PR is an upstream equivalent of this PR: https://github.com/redhat-developer/devspaces-images/pull/770
For https://issues.redhat.com/browse/CRW-8598 and https://issues.redhat.com/browse/CRW-8932
To test this PR:
Build the base image:
Create these 4 empty files:
Case 1: Testing CRW-8932
Put the following into
case1.Dockerfile:Build the image:
Create a workspace with the new image. My new image is:
quay.io/dkwon17/base-developer-image:case1:Verify that there are symlinks for
configandconfig2:Case 2: Testing CRW-8598
Put the following into
case2.Dockerfile:Build the image:
Create a workspace with the new image. My new image is:
quay.io/dkwon17/base-developer-image:case2:Verify that
/home/user/.config/test/config2exists, and is not a symlink:Make a change to the
config2file, and restart the workspace. Once the workpsace is restarted, theconfig2file should have the changes you made before restarting the workspace.