calpine-os-linux/Makefile

14 lines
418 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)
2023-08-27 13:14:02 +07:00
DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.18.3
build:
2021-03-26 11:02:54 +07:00
./src/build.sh
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
2021-03-26 12:36:17 +07:00
docker tag ${DOCKER_IMAGE} ${DOCKER_IMAGE_NAME}:latest
docker push ${DOCKER_IMAGE}
2021-03-26 12:30:37 +07:00
docker push ${DOCKER_IMAGE_NAME}
2021-03-26 11:02:54 +07:00
.PHONY: build