With the addition of ancillary scripts like `entrypoint.sh`, the `COPY .`
instruction in the build stage results in a full rebuild of the final
image for every change. To avoid this, we now only copy the files that
are actually required to build the wheel. The other scripts are copied
later, using an intermediate layer. This avoids needing a `COPY`
instruction, and therefore a new layer in the final image, for each
script. Hypothetically, we could use `RUN --mount=bind` and copy the
files with the `install` command, but bind-mounting the build context
doesn't actually work; SELinux prevents the container builder from
accessing the source directory directly.