dive icon indicating copy to clipboard operation
dive copied to clipboard

Layer size incorrect and not highlighting changes

Open steinybot opened this issue 5 years ago • 0 comments

Screen Shot 2020-05-15 at 3 37 14 PM

You can see in this screenshot that the highlighted layer says that it is adding 1.4GB and yet there are no changes highlighted in the layer contents.

What I think may have happened is that this is being combined with the previous COPY. Unfortunately I didn't grab a screenshot of that layer but it seemed to show the wrong contents.

That part of the Dockerfile is like this:

ENV JAVA_MIN /opt/java

COPY --from=sdks "${JAVA_MIN}" "${JAVA_MIN}"

ENV JAVA_MIN "${JAVA_MIN}"
ENV HOME "/pipeline"

RUN mkdir -p ${HOME} && chmod 770 ${HOME}

ENV BLAST_DIR /opt/blast

COPY --from=sdks "${BLAST_DIR}" "${BLAST_DIR}"

So that first COPY should only copy from /opt/java and the second should copy /opt/blast however highlighting the first COPY shows both and I think the 1.4GB is the sum of both /opt/java and /opt/blast which is why they both say 1.4GB.

steinybot avatar May 15 '20 04:05 steinybot