-
Notifications
You must be signed in to change notification settings - Fork 212
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
Remove dependency on package-lock.json
in Dockerfiles
#44
Comments
Dependencies problemThe Docker build processes rely on sub-repository Our local build process installs dependencies for all sub-repositories at one time, and uses one We shouldn't have different methods of installing dependencies locally and when building docker images because it can cause tricky errors. Number of DockerfilesThere is a total of 7 Dockerfiles, plus one in Seems excessive and increases complexity. Proposed solutionI'm thinking about having one Dockerfile in root directory. It would install dependencies for sub-repositories using main @akolotov @phahulin @ArseniiPetrovich Do you have any comments on this? |
@patitonar could you take a look and provide your thoughts? |
My understanding is that some of these docker files are used for e2e testing only, whereas others are to build images used in production. @patitonar please correct me if I am wrong. So probably we will need to differentiate different docker files for different purposes in the final solution anyway. |
I agree on this, we should use Regarding the Dockerfile most of them are use for e2e testing and can be replaced by accessing the sub-repository needed or be unified in the case of the repeated Parity nodes Dockerfile used on e2e tests. I think the only one used for build for production along with the docker-compose file are the one from the oracle sub-repository |
The Dockerfiles are COPYing
package-lock.json
when building images.We should remove this dependency, or rely on
yarn.lock
instead.The text was updated successfully, but these errors were encountered: