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

Request: Pin Dependency Versions in Dockerfile for Reproducibility #9

Open
debugAllTheTime opened this issue Nov 28, 2024 · 1 comment

Comments

@debugAllTheTime
Copy link

I'm trying to build the Docker image from the provided Dockerfile, but I'm encountering dependency conflicts during the build process. This is likely due to the fact that the Dockerfile doesn't specify exact versions for the installed packages. Without pinned versions, the build process can pull in the latest available versions, which may not be compatible with each other or with the application code.

To ensure reproducibility and avoid dependency conflicts, I would greatly appreciate it if you could update the Dockerfile to specify exact versions for all installed packages.

Pinning dependency versions will make the build process more reliable and consistent across different environments.

Could you please consider making this change? It would significantly improve the usability and maintainability of the project.

Thanks for your time and consideration!

@mikihiroikura
Copy link
Contributor

Hello, thank you for sharing the issue.

I double-checked docker build process without any cache by using following commands.

cd EDOPT
eval $(ssh-agent -s)
ssh-add path/to/my/ssh/secret/key
docker build --no-cache -t sixdof:latest --ssh default .

However, I didn't encounter this issue.

Here is my local environment,

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy

Docker version 27.3.1, build ce12230

Can you confirm your local environment? If you have this error message, could you share it with us? Especially, we would like to know which libraries have dependency conflicts.
Thanks

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

No branches or pull requests

2 participants