Closed PhilipMay closed 2 years ago
Hint => https://github.com/matusnovak/prometheus-smartctl/pull/31/files
You can use this tool to inspect the layers => https://github.com/wagoodman/dive
Image name: ghcr.io/philipmay/smart-prom-next:0.0.4rc1-alpine Total Image size: 71 MB Potential wasted space: 14 MB Image efficiency score: 89 %
Image name: matusnovak/prometheus-smartctl:v2.0.0 Total Image size: 52 MB Potential wasted space: 735 kB Image efficiency score: 99 %
done with Alpine - what else can be done with Alpine and / or Debian?
Sorry, I don't have time to explain. You can reduce both Docker images even more as enhancement. You can close if you want.
alpine defult
70.7
rm -rf /root/.cache/
kein effekt
rm -rf /var/cache/apk/*
68.2MB
done
@ngosang sais:
So - this is the issue - can yo provide some hints @ngosang ?