calpine-os-linux/Makefile

12 lines
358 B
Makefile
Raw Normal View History

DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux
DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
build:
2021-03-26 11:02:54 +07:00
./src/build.sh
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
docker tag ${DOCKER_IMAGE_NAME}:3.13 ${DOCKER_IMAGE_NAME}:latest
2021-03-26 12:30:37 +07:00
docker push ${DOCKER_IMAGE_NAME}
2021-03-26 11:02:54 +07:00
.PHONY: build