File tree Expand file tree Collapse file tree 9 files changed +11
-1
lines changed
datascience-notebook/hooks
tensorflow-notebook/hooks Expand file tree Collapse file tree 9 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ arch_patch/%: ## apply hardware architecture specific patches to the Dockerfile
4545build/% : DARGS?=
4646build/% : # # build the latest image for a stack
4747 docker build $(DARGS ) --rm --force-rm -t $(OWNER ) /$(notdir $@ ) :latest ./$(notdir $@ )
48+ @echo -n " Built image size: "
49+ @docker images $(OWNER ) /$(notdir $@ ) :latest --format " {{.Size}}"
4850
4951build-all : $(foreach I,$(ALL_IMAGES ) ,arch_patch/$(I ) build/$(I ) ) # # build all stacks
5052build-test-all : $(foreach I,$(ALL_IMAGES ) ,arch_patch/$(I ) build/$(I ) test/$(I ) ) # # build and test all stacks
@@ -125,4 +127,4 @@ test/%: ## run tests against a stack (only common tests or common tests + specif
125127 @if [ ! -d " $( notdir $@ ) /test" ]; then TEST_IMAGE=" $( OWNER) /$( notdir $@ ) " pytest -m " not info" test ; \
126128 else TEST_IMAGE=" $( OWNER) /$( notdir $@ ) " pytest -m " not info" test $(notdir $@ ) /test; fi
127129
128- test-all : $(foreach I,$(ALL_IMAGES ) ,test/$(I ) ) # # test all stacks
130+ test-all : $(foreach I,$(ALL_IMAGES ) ,test/$(I ) ) # # test all stacks
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ cat << EOF > "$MANIFEST_FILE"
22* Build datetime: ${BUILD_TIMESTAMP}
33* DockerHub build code: ${BUILD_CODE}
44* Docker image: ${DOCKER_REPO}:${GIT_SHA_TAG}
5+ * Docker image size: $(docker images ${IMAGE_NAME} --format "{{.Size}}")
56* Git commit SHA: [${SOURCE_COMMIT}](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
67* Git commit message:
78\`\`\`
You can’t perform that action at this time.
0 commit comments