-
Notifications
You must be signed in to change notification settings - Fork 352
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
ci: build docker image using jib TECH-1279 #11301
Conversation
4567193
to
a1bf672
Compare
Codecov Report
@@ Coverage Diff @@
## master #11301 +/- ##
============================================
- Coverage 62.90% 62.89% -0.01%
- Complexity 27104 27106 +2
============================================
Files 3188 3188
Lines 112501 112495 -6
Branches 13226 13226
============================================
- Hits 70764 70759 -5
+ Misses 35641 35637 -4
- Partials 6096 6099 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Kudos, SonarCloud Quality Gate passed! |
closing in favor of #11308 to rename the branch to TECH-1279 |
Docker image build time
TODO
Before
...
Jib
Build core image step: 4m27s
Jib maven command: [INFO] Total time: 01:24 min
Docker image size
TODO
Running as non-root
Run DHIS2
Check process running Tomcat is owned by user uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
docker exec -it core-dhis2-core-1 ls -l /proc/1/ total 0 -r--r--r-- 1 nobody nogroup 0 Jul 19 09:52 arch_status dr-xr-xr-x 2 nobody nogroup 0 Jul 19 09:49 attr -rw-r--r-- 1 nobody nogroup 0 Jul 19 09:52 autogroup -r-------- 1 nobody nogroup 0 Jul 19 09:52 auxv -r--r--r-- 1 nobody nogroup 0 Jul 19 09:49 cgroup ...
What's next
After we agree on building with Jib we should
docker