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 wirft Fehler #433

Open
haraldwagener2 opened this issue Oct 31, 2024 · 0 comments
Open

docker-compose wirft Fehler #433

haraldwagener2 opened this issue Oct 31, 2024 · 0 comments

Comments

@haraldwagener2
Copy link

haraldwagener2 commented Oct 31, 2024

Hallo zusammen,

die einfachste Variante den app-server zu installieren, sollte ja mittels des Docker-compose File sein, allerdings wirft
die Ausführung des docker-compose.yml via docker-compose up 2 Fehler:

time="2024-10-31T11:30:04+01:00" level=warning msg="C:\Source\smartVillage\issue1\smart-village-app-mainserver\docker-compose.yml: version is obsolete"
time="2024-10-31T11:30:04+01:00" level=warning msg="C:\Source\smartVillage\issue1\smart-village-app-mainserver\docker-compose.override.yml: version is obsolete"
[+] Running 3/3
! app Warning Head "https://registry.gitlab.tpwd.de/v2/ikusei/smart-village-app-mainserver/manifests/latest": denied: access forbidden 0.7s
✘ cron_job Error Head "https://registry.gitlab.tpwd.de/v2/ikusei/smart-village-app-mainserver/manifests/latest": denied: access forbidden 0.6s
✘ delayed_job Error Head "https://registry.gitlab.tpwd.de/v2/ikusei/smart-village-app-mainserver/manifests/latest": denied: access forbidden 0.6s

[+] Building 19.8s (15/18) docker:desktop-linux
=> [app internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.27kB 0.0s
=> [app internal] load metadata for docker.io/library/ruby:2.6.8 1.0s
=> [app auth] library/ruby:pull token for registry-1.docker.io 0.0s
=> [app internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [app 1/13] FROM docker.io/library/ruby:2.6.8@sha256:9ce6eccc1843feef1411844dfdc9d5b5d846bc225d3a5626d23ffc398f1b15d8 0.0s
=> [app internal] load build context 0.7s
=> => transferring context: 19.61MB 0.7s
=> CACHED [app 2/13] RUN apt-get update && apt-get install -y curl apt-transport-https ca-certificates && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt- 0.0s
=> CACHED [app 3/13] RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc 0.0s
=> CACHED [app 4/13] RUN chmod +x mc 0.0s
=> CACHED [app 5/13] RUN mv mc /bin 0.0s
=> CACHED [app 6/13] RUN mc -help 0.0s
=> CACHED [app 7/13] RUN curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz | tar -C /usr/local/bin -xz 0.0s
=> CACHED [app 8/13] WORKDIR /app 0.0s
=> CACHED [app 9/13] COPY Gemfile Gemfile.lock /app/ 0.0s
=> ERROR [app 10/13] RUN gem install bundler 17.9s

[app 10/13] RUN gem install bundler:
17.48 ERROR: Error installing bundler:
17.48 The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with gem install bundler -v 2.4.22
17.48 bundler requires Ruby version >= 3.0.0. The current ruby version is 2.6.8.205.


failed to solve: process "/bin/sh -c gem install bundler" did not complete successfully: exit code: 1

  1. Es wird auf ein privates Repository verwiesen
  2. Die Versionen des Bundlers passt nicht zur Ruby Version
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

1 participant