perfsonar / perfsonar-testpoint-docker

Apache License 2.0
12 stars 15 forks source link

Reducing image size and exposing ports #14

Closed DanielNeto closed 5 years ago

DanielNeto commented 5 years ago

I made some optimizations to reduce the final image size (from 1.13GB to 684MB) by clearing the yum cache after installing the packages and combining some RUN statements. I also exported all ports used by the container using the EXPOSE instruction.