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 [ 2/14] RUN curl -sL https://deb.nodesource.com/setup_12.x | ba 2.7s #53

Closed
x1wins opened this issue Aug 26, 2021 · 1 comment
Closed
Assignees
Labels
dependencies Pull requests that update a dependency file rails 6.1 rails version upgrade system-error

Comments

@x1wins
Copy link
Owner

x1wins commented Aug 26, 2021

i tried update gem, yarn lib
but i got below message of error.
maybe Dockerfile has some problem

docker-compose run --no-deps web bundle update
docker-compose run --no-deps web yarn upgrade --latest
% docker-compose --env-file .env.dev.s3 up --build -d

Building web
[+] Building 3.2s (6/18)                                                        
 => [internal] load build definition from Dockerfile                       0.1s
 => => transferring dockerfile: 1.22kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 83B                                           0.0s
 => [internal] load metadata for docker.io/library/ruby:2.6.3              0.0s
 => [ 1/14] FROM docker.io/library/ruby:2.6.3                              0.4s
 => CANCELED [internal] load build context                                 3.0s
 => => transferring context: 54.46MB                                       3.0s
 => ERROR [ 2/14] RUN curl -sL https://deb.nodesource.com/setup_12.x | ba  2.7s
------                                                                          
 > [ 2/14] RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&     echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&     apt-get update &&     apt-get install -qq -y build-essential nodejs yarn vim     libpq-dev postgresql-client ffmpeg:                                
#5 1.145 
#5 1.145 ## Installing the NodeSource Node.js 12.x repo...
#5 1.145 
#5 1.155 
#5 1.155 ## Populating apt-get cache...
#5 1.155 
#5 1.155 + apt-get update
#5 1.398 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
#5 1.398 Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
#5 1.454 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
#5 1.619 Err:2 http://security.debian.org/debian-security buster/updates InRelease
#5 1.619   At least one invalid signature was encountered.
#5 1.797 Err:1 http://deb.debian.org/debian buster InRelease
#5 1.797   At least one invalid signature was encountered.
#5 1.956 Err:3 http://deb.debian.org/debian buster-updates InRelease
#5 1.956   At least one invalid signature was encountered.
#5 1.985 Reading package lists...
#5 2.030 W: GPG error: http://security.debian.org/debian-security buster/updates InRelease: At least one invalid signature was encountered.
#5 2.030 E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
#5 2.030 W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
#5 2.030 E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
#5 2.030 W: GPG error: http://deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
#5 2.030 E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.
#5 2.031 Error executing command, exiting
------
executor failed running [/bin/sh -c curl -sL https://deb.nodesource.com/setup_12.x | bash - &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&     echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&     apt-get update &&     apt-get install -qq -y build-essential nodejs yarn vim     libpq-dev postgresql-client ffmpeg]: exit code: 1
ERROR: Service 'web' failed to build : Build failed

@x1wins x1wins self-assigned this Aug 26, 2021
@x1wins x1wins added the dependencies Pull requests that update a dependency file label Aug 26, 2021
@x1wins
Copy link
Owner Author

x1wins commented Aug 26, 2021

Solution

https://stackoverflow.com/a/62510927/1399891

docker image prune -f

@x1wins x1wins closed this as completed Aug 26, 2021
@x1wins x1wins added rails 6.1 rails version upgrade system-error labels Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rails 6.1 rails version upgrade system-error
Projects
None yet
Development

No branches or pull requests

1 participant