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-build-assets-with-temporary-mongod: line 5: mongod: command not found #28

Open
vasi26ro opened this issue Feb 12, 2023 · 1 comment
Labels

Comments

@vasi26ro
Copy link

I am trying to install build the docker images but this error is raised:

╰─± docker compose build --no-cache
[+] Building 88.5s (17/18)                                                                                                
 => [internal] load build definition from Dockerfile                                                                 0.0s
 => => transferring dockerfile: 773B                                                                                 0.0s
 => [internal] load .dockerignore                                                                                    0.0s
 => => transferring context: 34B                                                                                     0.0s
 => [internal] load metadata for docker.io/library/node:14                                                           0.0s
 => [internal] load build context                                                                                    0.0s
 => => transferring context: 5.27kB                                                                                  0.0s
 => [ 1/14] FROM docker.io/library/node:14                                                                           0.0s
 => CACHED [ 2/14] WORKDIR /app                                                                                      0.0s
 => [ 3/14] COPY package* ./                                                                                         0.0s
 => [ 4/14] RUN npm install                                                                                         34.5s
 => [ 5/14] RUN mkdir scripts                                                                                        0.7s
 => [ 6/14] RUN npm install -g m                                                                                     1.5s 
 => [ 7/14] RUN apt-get -y update                                                                                    3.5s 
 => [ 8/14] RUN apt-get -y install scons                                                                             3.2s 
 => [ 9/14] RUN m 3.6                                                                                                4.2s 
 => [10/14] RUN m tools stable                                                                                       4.3s 
 => [11/14] RUN npm install -g pm2                                                                                  21.1s 
 => [12/14] COPY . ./                                                                                                0.0s 
 => ERROR [13/14] RUN ./scripts/docker-build-assets-with-temporary-mongod                                           15.4s 
------                                                                                                                    
 > [13/14] RUN ./scripts/docker-build-assets-with-temporary-mongod:                                                       
#0 0.347 ./scripts/docker-build-assets-with-temporary-mongod: line 5: mongod: command not found                           
#0 0.356 docker-wait-for-port: waiting 15 seconds for mongo:27017                                                         
#0 15.35 docker-wait-for-port: timeout occurred after waiting 15 seconds for mongo:27017
------
failed to solve: executor failed running [/bin/sh -c ./scripts/docker-build-assets-with-temporary-mongod]: exit code: 124
@vasi26ro vasi26ro added the bug label Feb 12, 2023
@BoDonkey
Copy link

Hi @vasi26ro,
Thanks for the bug report. I'll get a work ticket opened up to look at the problem.
Cheers,
Bob

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

No branches or pull requests

2 participants