You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use Docker Compose version v2.2.3
Docker version 25.0.3, build 4debf41
Dockerfile
FROM ruby:2.7.6-slim-buster
...
RUN curl -sL https://deb.nodesource.com/setup_$NODE_MAJOR.x | bash - \
&& apt-get update -yqq \
&& apt-get -yq dist-upgrade \
&& apt-get install -yq nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN apt update && apt install libengine-gost-openssl1.1
RUN npm install -g [email protected]
RUN corepack enable && corepack prepare yarn@stable --activate
...
RUN gem install bundler:2.3.24
ENV BUNDLE_JOBS=3
RUN bundle install
RUN yarn install
when call docker compose buid
this command returns error:
=> ERROR [sidekiq 26/32] RUN yarn install 0.6s
------
> [sidekiq 26/32] RUN yarn install:
0.411 Internal Error: ENOENT: no such file or directory, open '/home/docker/.cache/node/corepack/lastKnownGood.json'
0.411 Error: ENOENT: no such file or directory, open '/home/docker/.cache/node/corepack/lastKnownGood.json'
------
failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
use Docker Compose version v2.2.3
Docker version 25.0.3, build 4debf41
Dockerfile
when call
docker compose buid
this command returns error:
The text was updated successfully, but these errors were encountered: