Open laszewsk opened 4 years ago
I changed dokerfile to use
RUN apt-get install gnupg
# RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
# RUN echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
RUN echo "deb https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list
We still get E: Unable to locate package mongodb-org The command '/bin/sh -c apt-get install -y mongodb-org' returned a non-zero code: 100 Unable to find image 'cloudmesh/cms:latest' locally docker: Error response from daemon: pull access denied for cloudmesh/cms, repository does not exist or may require 'docker login'. See 'docker run --help'.
I think now the build error is something different. It seems to be installing mongo shell without a problem.
This is the current error
The job exceeded the maximum time limit for jobs, and has been terminated.
https://travis-ci.com/cloudmesh/cloudmesh-cmsd/builds/152275553
I think these sorts of issues can be resolved when we push an official image to dockerhub. Then we can ommit image creation.
---> 88c8a97ab1e0 Step 8/19 : RUN apt-get install -y mongodb-org-shell ---> Running in 6ba74a1453bc Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package mongodb-org-shell The command '/bin/sh -c apt-get install -y mongodb-org-shell' returned a non-zero code: 100 Unable to find image 'cloudmesh/cms:latest' locally docker: Error response from daemon: pull access denied for cloudmesh/cms, repository does not exist or may require 'docker login'. See 'docker run --help'.