calpine-os-linux/Makefile
2021-12-23 09:10:40 +07:00

14 lines
416 B
Makefile

DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux
DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.15
build:
./src/build.sh
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
docker tag ${DOCKER_IMAGE} ${DOCKER_IMAGE_NAME}:latest
docker push ${DOCKER_IMAGE}
docker push ${DOCKER_IMAGE_NAME}
.PHONY: build