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

error: no download tool found, please install curl, wget or busybox wget (when I change the DockerFile and restart the workspace). What needs to be changed further? #42

Closed
johnstcn opened this issue Sep 2, 2024 · 4 comments · Fixed by coder/envbuilder#341
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@johnstcn
Copy link
Member

johnstcn commented Sep 2, 2024

          @johnstcn I still get  error: no download tool found, please install curl, wget or busybox wget (when I change the DockerFile and restart the workspace). What needs to be changed further?

terraform.txt

Originally posted by @datapedd in #31 (comment)

@coder-labeler coder-labeler bot added help wanted Extra attention is needed question Further information is requested labels Sep 2, 2024
@johnstcn johnstcn self-assigned this Sep 2, 2024
@johnstcn
Copy link
Member Author

johnstcn commented Sep 2, 2024

@datapedd that message is returned by the agent provision script. Can you share the devcontainer.json or Dockerfile that you're trying to build? You may need to add a command to install curl or wget.

@datapedd
Copy link

datapedd commented Sep 2, 2024

@johnstcn Curl is in the Dockerfile. The first time it builds fine, but when I just restart it, then it fails.

logs_pod.txt

024-09-02 21:11:07.078 [warn] Sending logs via AgentAPI v2 coder_version=v2.14.2+d1cd784
�[1menvbuilder�[22m v1.0.0-rc.6+23d086e - Build development environments from repositories in a container
#1: 👤 Using no authentication!
#1: 📦 Cloning �[36mhttps://github.com/coder/envbuilder-starter-devcontainer�[0m to �[36m/workspaces/envbuilder-starter-devcontainer�[0m...
#1: 📦 The repository already exists! [79.289µs]
#1: Deleting filesystem...
#2: 🏗️ Building image...
#2: Retrieving image manifest ubuntu
#2: Retrieving image ubuntu from registry index.docker.i

@datapedd
Copy link

datapedd commented Sep 8, 2024

Found the problem. It is that curl has to be all the time in the dockerfile, if removed and then the workspace is restarted, then if fails. Should also be changed in the readme as it is not in it.

image

image

@johnstcn johnstcn added documentation Improvements or additions to documentation and removed help wanted Extra attention is needed question Further information is requested labels Sep 9, 2024
@johnstcn
Copy link
Member Author

johnstcn commented Sep 9, 2024

Should also be changed in the readme as it is not in it.

Thanks for the update @datapedd ! It sounds like a section specifically related to integrating with Coder would be useful here.

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

Successfully merging a pull request may close this issue.

2 participants