Skip to content

Instantly share code, notes, and snippets.

@joaodrp
Created September 21, 2017 18:36
Show Gist options
  • Select an option

  • Save joaodrp/0b3a930b7906c2a706715db1acb75c4c to your computer and use it in GitHub Desktop.

Select an option

Save joaodrp/0b3a930b7906c2a706715db1acb75c4c to your computer and use it in GitHub Desktop.

Revisions

  1. joaodrp created this gist Sep 21, 2017.
    17 changes: 17 additions & 0 deletions hello-world-go-history.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    $ docker history hello-world-go
    IMAGE CREATED CREATED BY SIZE
    89f4b3330c9d 14 minutes ago /bin/sh -c #(nop) CMD ["./hello-world"] 0B
    214fd4f5ac0c 14 minutes ago /bin/sh -c go build -o hello-world 1.86MB
    2e3c915dc835 14 minutes ago /bin/sh -c #(nop) COPY file:2d548923cbd267... 72B
    320edf382c83 14 minutes ago /bin/sh -c #(nop) WORKDIR /src/app 0B
    ed119d8f7db5 2 days ago /bin/sh -c #(nop) COPY file:ea7c9f4702f94a... 2.48kB
    <missing> 2 days ago /bin/sh -c #(nop) WORKDIR /go 0B
    <missing> 2 days ago /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH... 0B
    <missing> 2 days ago /bin/sh -c #(nop) ENV PATH=/go/bin:/usr/l... 0B
    <missing> 2 days ago /bin/sh -c #(nop) ENV GOPATH=/go 0B
    <missing> 2 days ago /bin/sh -c set -eux; apk add --no-cache -... 265MB
    <missing> 2 days ago /bin/sh -c #(nop) COPY file:9c751f4a8b8826... 574B
    <missing> 2 days ago /bin/sh -c #(nop) ENV GOLANG_VERSION=1.9 0B
    <missing> 2 days ago /bin/sh -c apk add --no-cache ca-certificates 634kB
    <missing> 3 days ago /bin/sh -c #(nop) CMD ["/bin/sh"] 0B
    <missing> 3 days ago /bin/sh -c #(nop) ADD file:4583e12bf5caec4... 3.97MB