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

Docker run fails to build image #15709

Closed
ryanswilson59 opened this issue Jan 29, 2024 · 4 comments · Fixed by #15699
Closed

Docker run fails to build image #15709

ryanswilson59 opened this issue Jan 29, 2024 · 4 comments · Fixed by #15699
Labels

Comments

@ryanswilson59
Copy link

ryanswilson59 commented Jan 29, 2024

Description

I run docker/starth.sh dev as suggest in the docks I get the following error
COPY failed: forbidden path outside the build context: ../binder/environment.yml ()

Reproduce

Theoretically the description is enough, its probably some config error.

Expected behavior

The image builds and runs

Context

Operating system: Manjaro linux
Docker Version: 24.0.7
Jupyter Lab commit hash: 558c60f

Copy link

welcome bot commented Jan 29, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Jan 29, 2024
@trungleduc
Copy link
Member

Hi, could you retry with this PR #15699 ?

@ryanswilson59
Copy link
Author

That fixed the yml issue, I now get

Cleaning tarballs..
Cleaning packages..
Removing intermediate container b60ec830da29
 ---> 6b8047a7935c
Step 16/21 : COPY --chown=$MAMBA_USER:$MAMBA_USER . .
 ---> 645bc5b944ae
Step 17/21 : RUN micromamba run jlpm install
 ---> Running in 286be2b80c43
Success
The command '/usr/local/bin/_dockerfile_shell.sh micromamba run jlpm install' returned a non-zero code: 1

@trungleduc
Copy link
Member

Thanks for trying it out, it should be fixed with the last commit

@JasonWeill JasonWeill removed the status:Needs Triage Applied to new issues that need triage label Jan 30, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants