about summary refs log tree commit diff
path: root/users/fcuny/blog/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-10 19:37:45 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-10 19:37:45 -0700
commitb5f9075e0a2a695c744a4684fdb360cfa227c1b2 (patch)
treec77a575a6e07903a27690316b9c81eebc9c77de8 /users/fcuny/blog/Makefile
parentwho knows (diff)
downloadworld-b5f9075e0a2a695c744a4684fdb360cfa227c1b2.tar.gz
delete Makefile
This is not needed anymore, I'm not running it in a container, and the
build is done remotely by fly when I do a build.
Diffstat (limited to 'users/fcuny/blog/Makefile')
-rw-r--r--users/fcuny/blog/Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/users/fcuny/blog/Makefile b/users/fcuny/blog/Makefile
deleted file mode 100644
index e2731d4..0000000
--- a/users/fcuny/blog/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-DOCKER := DOCKER_BUILDKIT=1 docker
-DOCKER_BUILD_ARGS :=
-DOCKER_IMAGE := fcuny/fcuny.net
-DOCKER_IMAGE_REF := $(shell git rev-parse HEAD)
-DOCKERFILE := Dockerfile
-PROJECT_DIR := $(realpath $(CURDIR))
-
-.PHONY: docker-build docker-run
-
-docker-build:
-	@echo "Building Docker image ..."
-	$(DOCKER) build $(DOCKER_BUILD_ARGS) \
-		--tag "${DOCKER_IMAGE}:${DOCKER_IMAGE_REF}" \
-		--file "$(DOCKERFILE)" \
-		"$(PROJECT_DIR)"
-
-docker-run: docker-build
-	@echo "Running Docker image ..."
-	$(DOCKER) run -ti --rm -p 8080:8080 "${DOCKER_IMAGE}:${DOCKER_IMAGE_REF}"