Add makefile and scripts and updated build script

This commit is contained in:
2021-03-26 10:15:40 +07:00
parent 9b48bbe4df
commit e7b34d4d23
4 changed files with 29 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
DOCKER_IMAGE_NAME = calpine-os-linux
DOCKER_IMAGE_VERSION = 3.13.3
DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
build:
$(shell ./src/build.sh)
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
.PHONY: build