Reduce the size of Docker image
Created by: kfei
- Add
--no-install-recommends
option toapt-get install
, this avoids lots of (~30MB) unnecessary packages. - Add
ca-certificates
package forwget
fetching stuffs from Amazon S3. - There is no need to run
apt-get clean
for an image derived from official Ubuntu since they already cleaned (see also: http://goo.gl/B2SQRB) all the garbages produced byapt-get
.
Signed-off-by: kfei kfei@kfei.net