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

I can't install using docker #7080

Open
SandraZocchi opened this issue Aug 17, 2023 · 5 comments
Open

I can't install using docker #7080

SandraZocchi opened this issue Aug 17, 2023 · 5 comments

Comments

@SandraZocchi
Copy link

I have downloaded the docker desktop, which includes docker-compose. After cloning the repository, the execution of docker-compose fails, the error occurs on windows:
ERROR [proxy 3/6] RUN apt-get update && apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-ess 5.0s

[proxy 3/6] RUN apt-get update && apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libncurses5-dev libffi-dev libgdbm-dev && curl -sL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer | bash -:
2.853 Ign http://security.debian.org jessie/updates InRelease
2.856 Ign http://deb.debian.org jessie InRelease
3.252 Ign http://security.debian.org jessie/updates Release.gpg
3.267 Ign http://deb.debian.org jessie Release.gpg
3.560 Ign http://deb.debian.org jessie Release
3.561 Ign http://security.debian.org jessie/updates Release
3.865 Err http://security.debian.org jessie/updates/main amd64 Packages
3.865
3.867 Err http://deb.debian.org jessie/main amd64 Packages
3.867
4.117 Err http://security.debian.org jessie/updates/main amd64 Packages
4.117
4.122 Err http://deb.debian.org jessie/main amd64 Packages
4.122
4.479 Err http://deb.debian.org jessie/main amd64 Packages
4.479
4.479 Err http://security.debian.org jessie/updates/main amd64 Packages
4.479
4.733 Err http://deb.debian.org jessie/main amd64 Packages
4.733
4.749 Err http://security.debian.org jessie/updates/main amd64 Packages
4.749
4.971 Err http://deb.debian.org jessie/main amd64 Packages
4.971 404 Not Found
4.997 Err http://security.debian.org jessie/updates/main amd64 Packages
4.997 404 Not Found [IP: 151.101.66.132 80]
5.003 W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found
5.003
5.003 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.66.132 80]
5.003
5.003 E: Some index files failed to download. They have been ignored, or old ones used instead.

failed to solve: process "/bin/sh -c apt-get update && apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libncurses5-dev libffi-dev libgdbm-dev && curl -sL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer | bash -" did not complete successfully: exit code: 100

Thank You!!

@SandraZocchi
Copy link
Author

@codeluggage can you help me?

@simplyclever
Copy link

Just change in dockefile image version to suggested.

FROM node:14

There is lots of warnings when installing but it run.

@snow8261
Copy link

Just change in dockefile image version to suggested.

FROM node:14

There is lots of warnings when installing but it run.

I change to node:14,run docker-compose up with the flowing error :
`docker-compose up

[+] Building 11.2s (12/12) FINISHED docker:desktop-linux
=> [proxy internal] load .dockerignore 0.0s
=> => transferring context: 125B 0.0s
=> [proxy internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 702B 0.0s
=> [proxy internal] load metadata for docker.io/library/node:14 3.6s
=> [proxy auth] library/node:pull token for registry-1.docker.io 0.0s
=> [proxy internal] load build context 0.3s
=> => transferring context: 628.78kB 0.3s
=> [proxy 1/6] FROM docker.io/library/node:14@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa 0.0s
=> CACHED [proxy 2/6] WORKDIR /coco 0.0s
=> CACHED [proxy 3/6] RUN apt-get update && apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf 0.0s
=> CACHED [proxy 4/6] RUN rbenv install 2.6.1 && rbenv global 2.6.1 0.0s
=> CACHED [proxy 5/6] RUN mkdir /npm && npm config set prefix /npm --global 0.0s
=> [proxy 6/6] COPY . . 6.0s
=> [proxy] exporting to image 1.2s
=> => exporting layers 1.2s
=> => writing image sha256:79fe1750b594335e8d02063da91cef285d218620c490aef8534a55818721dac2 0.0s
=> => naming to docker.io/library/codecombat-proxy 0.0s
[+] Running 2/2
✔ Network codecombat_default Created 0.1s
✔ Container codecombat-proxy-1 Created 0.1s
Attaching to proxy-1
proxy-1 | npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
proxy-1 | npm ERR! code EBADPLATFORM
proxy-1 | npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.18.20: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"arm64"})
proxy-1 | npm ERR! notsup Valid OS: android
proxy-1 | npm ERR! notsup Valid Arch: arm
proxy-1 | npm ERR! notsup Actual OS: linux
proxy-1 | npm ERR! notsup Actual Arch: arm64
proxy-1 |
proxy-1 | npm ERR! A complete log of this run can be found in:
proxy-1 | npm ERR! /root/.npm/_logs/2024-04-20T12_27_32_624Z-debug.log
proxy-1 exited with code 1`

@MagzhanUnited
Copy link

Just change in dockefile image version to suggested.

FROM node:14

There is lots of warnings when installing but it run.

I change to node:14,run docker-compose up with the flowing error : `docker-compose up

[+] Building 11.2s (12/12) FINISHED docker:desktop-linux => [proxy internal] load .dockerignore 0.0s => => transferring context: 125B 0.0s => [proxy internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 702B 0.0s => [proxy internal] load metadata for docker.io/library/node:14 3.6s => [proxy auth] library/node:pull token for registry-1.docker.io 0.0s => [proxy internal] load build context 0.3s => => transferring context: 628.78kB 0.3s => [proxy 1/6] FROM docker.io/library/node:14@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa 0.0s => CACHED [proxy 2/6] WORKDIR /coco 0.0s => CACHED [proxy 3/6] RUN apt-get update && apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf 0.0s => CACHED [proxy 4/6] RUN rbenv install 2.6.1 && rbenv global 2.6.1 0.0s => CACHED [proxy 5/6] RUN mkdir /npm && npm config set prefix /npm --global 0.0s => [proxy 6/6] COPY . . 6.0s => [proxy] exporting to image 1.2s => => exporting layers 1.2s => => writing image sha256:79fe1750b594335e8d02063da91cef285d218620c490aef8534a55818721dac2 0.0s => => naming to docker.io/library/codecombat-proxy 0.0s [+] Running 2/2 ✔ Network codecombat_default Created 0.1s ✔ Container codecombat-proxy-1 Created 0.1s Attaching to proxy-1 proxy-1 | npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! proxy-1 | npm ERR! code EBADPLATFORM proxy-1 | npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.18.20: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"arm64"}) proxy-1 | npm ERR! notsup Valid OS: android proxy-1 | npm ERR! notsup Valid Arch: arm proxy-1 | npm ERR! notsup Actual OS: linux proxy-1 | npm ERR! notsup Actual Arch: arm64 proxy-1 | proxy-1 | npm ERR! A complete log of this run can be found in: proxy-1 | npm ERR! /root/.npm/_logs/2024-04-20T12_27_32_624Z-debug.log proxy-1 exited with code 1`

Did you solve it?

@aeronixil
Copy link

Just change in dockefile image version to suggested.

FROM node:14

There is lots of warnings when installing but it run.

I change to node:14,run docker-compose up with the flowing error : docker-compose up [+] Building 11.2s (12/12) FINISHED docker:desktop-linux => [proxy internal] load .dockerignore 0.0s => => transferring context: 125B 0.0s => [proxy internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 702B 0.0s => [proxy internal] load metadata for docker.io/library/node:14 3.6s => [proxy auth] library/node:pull token for registry-1.docker.io 0.0s => [proxy internal] load build context 0.3s => => transferring context: 628.78kB 0.3s => [proxy 1/6] FROM docker.io/library/node:14@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa 0.0s => CACHED [proxy 2/6] WORKDIR /coco 0.0s => CACHED [proxy 3/6] RUN apt-get update && apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf 0.0s => CACHED [proxy 4/6] RUN rbenv install 2.6.1 && rbenv global 2.6.1 0.0s => CACHED [proxy 5/6] RUN mkdir /npm && npm config set prefix /npm --global 0.0s => [proxy 6/6] COPY . . 6.0s => [proxy] exporting to image 1.2s => => exporting layers 1.2s => => writing image sha256:79fe1750b594335e8d02063da91cef285d218620c490aef8534a55818721dac2 0.0s => => naming to docker.io/library/codecombat-proxy 0.0s [+] Running 2/2 ✔ Network codecombat_default Created 0.1s ✔ Container codecombat-proxy-1 Created 0.1s Attaching to proxy-1 proxy-1 | npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! proxy-1 | npm ERR! code EBADPLATFORM proxy-1 | npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.18.20: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"arm64"}) proxy-1 | npm ERR! notsup Valid OS: android proxy-1 | npm ERR! notsup Valid Arch: arm proxy-1 | npm ERR! notsup Actual OS: linux proxy-1 | npm ERR! notsup Actual Arch: arm64 proxy-1 | proxy-1 | npm ERR! A complete log of this run can be found in: proxy-1 | npm ERR! /root/.npm/_logs/2024-04-20T12_27_32_624Z-debug.log proxy-1 exited with code 1

Did you solve it?

were you able to solve it?

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

No branches or pull requests

5 participants