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

Dockerfile: Replace alpine by debian. Use same dockerfile for amd and arm #2192

Merged
merged 6 commits into from
Oct 24, 2023

Conversation

jcortejoso
Copy link
Member

@jcortejoso jcortejoso commented Oct 3, 2023

Description

Use same dockerfile for amd and arm, as the only way to have multi-arch images is building them with the same docker build command (which means they need to use same dockerfile).

Using debian as base instead of alpine. It increases the image size slightly (from 60MB to ~200MB), but linux/arm64 had building and running issues using alpine.

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit a59dd19

coverage: 50.7% of statements across all listed packages
coverage:  63.4% of statements in consensus/istanbul
coverage:  42.7% of statements in consensus/istanbul/announce
coverage:  55.7% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  64.8% of statements in consensus/istanbul/core
coverage:  50.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.2% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

5871 passed, 45 skipped

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4e9521d) 55.08% compared to head (061dd17) 55.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2192      +/-   ##
==========================================
+ Coverage   55.08%   55.09%   +0.01%     
==========================================
  Files         682      682              
  Lines      114447   114447              
==========================================
+ Hits        63040    63060      +20     
+ Misses      47520    47490      -30     
- Partials     3887     3897      +10     

see 29 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jcortejoso jcortejoso changed the title Quick dockerfile change: Add wget package Dockerfile: Replace alpine by debian. Use same dockerfile for amd and arm Oct 3, 2023
@jcortejoso jcortejoso merged commit a59dd19 into master Oct 24, 2023
29 checks passed
@jcortejoso jcortejoso deleted the jcortejoso/wget-arm64 branch October 24, 2023 11:01
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