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-compose build gives error in windows 10 OS. #55

Closed
canbax opened this issue Mar 14, 2021 · 1 comment
Closed

docker-compose build gives error in windows 10 OS. #55

canbax opened this issue Mar 14, 2021 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@canbax
Copy link

canbax commented Mar 14, 2021

Describe the bug
I execute docker-compose build. Below are the console logs. It throws an error.

D:\yusuf\graph-app-kit\src\docker>docker-compose build
WARNING: The BASE_PATH variable is not set. Defaulting to a blank string.
autoheal uses an image, skipping
Building streamlit
failed to get console mode for stdout: The handle is invalid.
[+] Building 4.7s (8/15)
[+] Building 4.8s (9/15)
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/graphistry/graphistry-forge-ba 2.0s
=> importing cache manifest from graphistry/graph-app-kit-st:latest 1.8s
=> [ 1/10] FROM docker.io/graphistry/graphistry-forge-base:v2.36.6-11.0@ 0.0s
=> [internal] load build context 0.0s: exit code: 126
=> => transferring context: 229B 0.0s
=> CACHED [ 2/10] WORKDIR /app 0.0s
=> CACHED [ 3/10] COPY python/conda-app.sh ./ 0.0s
=> ERROR [ 4/10] RUN source activate rapids && ./conda-app.sh 0.8s

[ 4/10] RUN source activate rapids && ./conda-app.sh:
#9 0.756 /bin/bash: ./conda-app.sh: /bin/bash^M: bad interpreter: No such file or directory


ERROR: Service 'streamlit' failed to build

Expected behavior
Work

Observed behavior
Error
To Reproduce
Clone the repo and then run docker-compose build

Environment

  • Windows 10 version 2004 (OS Build 19041.867)
  • StreamLit Version 0.77.0
  • How you installed: git clone

Additional context

@canbax canbax added the bug Something isn't working label Mar 14, 2021
@lmeyerov
Copy link
Contributor

Thanks @canbax

For tracking purposes, closing as a duplicate of #39

For the particular trace above, the error suggests the docker context is not COPYING the conda-app.sh from the host context into the Docker container, so this sounds like a windows path issue. I recommend starting with that..

@lmeyerov lmeyerov added the duplicate This issue or pull request already exists label Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants