Hi folks,
I thought I'd make a newer Alpine image and maybe install another docker tool while I was at it.
I ended up with a test Dockerfile like the following:
FROM alpine:3.13.2
COPY --from=gcr.io/uber-container-tools/makisu:v0.4.1 . .
RUN apk add --no-cache git skopeo
ENTRYPOINT /bin/sh
But Makisu produced a docker image that was 437 MB, and 373 MB of that was in the /usr/libexecgit-core directory according to dive.
By comparison, the above image when produced with Docker for Mac or Kaniko is 85 MB according to Dive and looks basically identical in both. Now, Kinako has its own speed issues, and I liked the caching options and simplicity of the code for Makisu, but if the git package for Alpine uses hard links and Makisu can't handle that, well, I'd rather not copy around an extra 300+ MB just for git's hard links.
Bonus bug: the second line COPY --from=gcr.io/uber-container-tools/makisu:v0.4.1 . . does not do what it's supposed to with Makisu. I expected it to copy the /makisu-internal folder and contents from the image into the new image. Both Kaniko and Docker for Mac do what I expect, but Makisu v0.4.1 seems to treat it as a no-op, seemingly copying nothing at that step.
Hi folks,
I thought I'd make a newer Alpine image and maybe install another docker tool while I was at it.
I ended up with a test Dockerfile like the following:
But Makisu produced a docker image that was 437 MB, and 373 MB of that was in the /usr/libexecgit-core directory according to
dive.By comparison, the above image when produced with Docker for Mac or Kaniko is 85 MB according to Dive and looks basically identical in both. Now, Kinako has its own speed issues, and I liked the caching options and simplicity of the code for Makisu, but if the git package for Alpine uses hard links and Makisu can't handle that, well, I'd rather not copy around an extra 300+ MB just for git's hard links.
Bonus bug: the second line
COPY --from=gcr.io/uber-container-tools/makisu:v0.4.1 . .does not do what it's supposed to with Makisu. I expected it to copy the/makisu-internalfolder and contents from the image into the new image. Both Kaniko and Docker for Mac do what I expect, but Makisu v0.4.1 seems to treat it as a no-op, seemingly copying nothing at that step.