I ran these steps in a Dockerfile:

```
RUN git clone my-repo       # step 1
RUN some other stuff        # step 2
RUN rm -rf 'my-repo/.git'   # step 3

```

I thought this would reduce the size of the docker image, but it didn't seem to - is that because step 1 is a layer that cannot be downsized by step 3?