Skip to content

Implement retry logic for apt-get install in Copi Dockerfile to handle network issues#2149

Merged
sydseter merged 1 commit intoOWASP:masterfrom
abhijit9040:master
Feb 4, 2026
Merged

Implement retry logic for apt-get install in Copi Dockerfile to handle network issues#2149
sydseter merged 1 commit intoOWASP:masterfrom
abhijit9040:master

Conversation

@abhijit9040
Copy link
Contributor

Implemented Retry Logic: If the initial apt-get install fails (due to transient network issues or mirror timeouts), the build will now:
Sleep for 10 seconds.
Refresh the package lists (apt-get update).
Attempt the installation again.

reference issue #2138

@sydseter sydseter merged commit 3b20998 into OWASP:master Feb 4, 2026
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants