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

Unable to build docker image since update #170

Open
ernstdegroot opened this issue Jan 10, 2023 · 2 comments
Open

Unable to build docker image since update #170

ernstdegroot opened this issue Jan 10, 2023 · 2 comments
Labels

Comments

@ernstdegroot
Copy link

Description

Since the new update, I can't build my Docker image anymore, as it's throwing an error while installing this extension. It was working before, and I figured out it failed since the resource-usage extension updated to the newest version (0.7.0).

Reproduce

FROM jupyter/scipy-notebook

RUN --mount=type=cache,target=/home/jovyan/.cache,uid=1000,gid=1000 \
    jupyter labextension install @jupyter-server/resource-usage --no-build && \
    jupyter lab build

I removed parts of my Dockerfile until I found out the resource-usage extension was causing the error. After going through your changelog I decided to force the Docker Image to use [email protected], which fixed the issue. Then I made my Dockerfile as small as possible to make it reproducible.

Expected behavior

I expected a Docker image based on Jupyter's official scipy container image, with the resource-usage extension installed. This was working correctly upto the last update of your extension (0.7.0).

Context

  • Operating System and version: Windows 10 Enterprise 19044.2251
  • Browser and version: Google Chrome 108.0.5359.125
  • Jupyter Server version: 1.23.4
Command Line Output
`executor failed running [/bin/bash -o pipefail -c jupyter labextension install @jupyter-server/resource-usage --no-build &&     jupyter lab build]: exit code: 1 `
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
@welcome
Copy link

welcome bot commented Jan 10, 2023

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! 🎉

@jtpio
Copy link
Member

jtpio commented Jan 10, 2023

Thanks @ernstdegroot for the report.

jupyter labextension install @jupyter-server/resource-usage

We recommend installing the extension with pip instead: pip install jupyter-resource-usage.

Or mamba / conda: conda install -c conda-forge jupyter-resource-usage.

This means running jupyter lab build is also not needed.

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