Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v5 #960 +/- ##
=======================================
Coverage 87.00% 87.00%
=======================================
Files 73 73
Lines 3802 3802
=======================================
Hits 3308 3308
Misses 494 494
🚀 New features to boost your workflow:
|
42b4dd1 to
217e58a
Compare
amimas
left a comment
There was a problem hiding this comment.
Haven't tried this out myself yet. Left a few comments to consider.
60223b0 to
a98261b
Compare
(if you would ever do this) thanks to not adding to it any files that are not really needed, but may exist on a development machine
thanks to not creating pip cache (really) and not installing seemingly unneeded APK packages
The change also updates dockerignore file ignoring more files from build context
217e58a to
c460483
Compare
|
@gdubicki @TimKnight01 - Picked this up and rebased and pushed an update to it. My update mainly introduces multi-stage builds. Here's what image size looks like with various versions. Here you can see our current released version (v4.8.0) image size is 88.5MB. Original update from this PR reduced it down to 77.1MB. With the multi-stage docker build, it can come down to 68.5MB. Let me know if you see any issues or concerns. Otherwise, let's get this in for v5 release. |
|
@amimas looks good - I'll merge into V5 and do a test of v5 against a Gitlab repo somewhere |
* build: faster building and smaller image locally (if you would ever do this) thanks to not adding to it any files that are not really needed, but may exist on a development machine * build: ~10MB (~11%) smaller image (numbers for ARM64) thanks to not creating pip cache (really) and not installing seemingly unneeded APK packages * build: we only need types packages for development * style: re-arrange dev dependencies in alphabetical order * fix: restore copy command so that docker build works * feat: use multi-stage dockerfile to reduce image size The change also updates dockerignore file ignoring more files from build context --------- Co-authored-by: amimas <aver.mimas@gmail.com>
* build: faster building and smaller image locally (if you would ever do this) thanks to not adding to it any files that are not really needed, but may exist on a development machine * build: ~10MB (~11%) smaller image (numbers for ARM64) thanks to not creating pip cache (really) and not installing seemingly unneeded APK packages * build: we only need types packages for development * style: re-arrange dev dependencies in alphabetical order * fix: restore copy command so that docker build works * feat: use multi-stage dockerfile to reduce image size The change also updates dockerignore file ignoring more files from build context --------- Co-authored-by: amimas <aver.mimas@gmail.com>
* build: faster building and smaller image locally (if you would ever do this) thanks to not adding to it any files that are not really needed, but may exist on a development machine * build: ~10MB (~11%) smaller image (numbers for ARM64) thanks to not creating pip cache (really) and not installing seemingly unneeded APK packages * build: we only need types packages for development * style: re-arrange dev dependencies in alphabetical order * fix: restore copy command so that docker build works * feat: use multi-stage dockerfile to reduce image size The change also updates dockerignore file ignoring more files from build context --------- Co-authored-by: amimas <aver.mimas@gmail.com>
* build: faster building and smaller image locally (if you would ever do this) thanks to not adding to it any files that are not really needed, but may exist on a development machine * build: ~10MB (~11%) smaller image (numbers for ARM64) thanks to not creating pip cache (really) and not installing seemingly unneeded APK packages * build: we only need types packages for development * style: re-arrange dev dependencies in alphabetical order * fix: restore copy command so that docker build works * feat: use multi-stage dockerfile to reduce image size The change also updates dockerignore file ignoring more files from build context --------- Co-authored-by: amimas <aver.mimas@gmail.com>
* build: faster building and smaller image locally (if you would ever do this) thanks to not adding to it any files that are not really needed, but may exist on a development machine * build: ~10MB (~11%) smaller image (numbers for ARM64) thanks to not creating pip cache (really) and not installing seemingly unneeded APK packages * build: we only need types packages for development * style: re-arrange dev dependencies in alphabetical order * fix: restore copy command so that docker build works * feat: use multi-stage dockerfile to reduce image size The change also updates dockerignore file ignoring more files from build context --------- Co-authored-by: amimas <aver.mimas@gmail.com>
But I have tiny doubts about whether the created image works. 😅 I mean: the app definitely runs, but I wonder if something will not fail when actually using some of its features.