Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define upstream workspace as path in custom docker container #824

Open
FabianThomsen opened this issue May 23, 2023 · 1 comment
Open

Define upstream workspace as path in custom docker container #824

FabianThomsen opened this issue May 23, 2023 · 1 comment
Labels

Comments

@FabianThomsen
Copy link

In the gitlab CI, I use the DOCKER_IMAGE variable to define a custom docker image in which the pipeline should run. In this image, I have already cloned all the code needed for the upstream workspace, but as there is currently no way of defining it as a path in this container, I have to write an additional .repos file that clones the code again under /root/upstream.

I would suggest that one could also define a path in the docker image that would then be either copied or symlinked to /root/upstream so that the upstream wouldn't need to be maintained at two places

@mathias-luedtke
Copy link
Member

Do you want to build your bundled upstream?
If not, just set UNDERLAY. It should point to your custom install space.

Have you tried setting UPSTREAM_WORKSPACE to your absolute path inside the docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants