diff --git a/Dockerfile b/Dockerfile index 2f9b9c121cf3..1edd027776d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,7 +71,7 @@ RUN make cleanall # Hack to get access to Chapel binaries RUN cd $CHPL_HOME/bin && ln -s */* . -# The .git folder is huge and we really don't need it. +# Remove some unneeded files to reduce image size RUN rm -rf .git RUN for subdir in `ls test || true`; do \ if [ "$subdir" != "release" ]; then \