From d6905ef52e05513ee06e76895866fd90b0da0aa9 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 31 Oct 2021 20:57:46 -0400 Subject: [PATCH] Remove .common Switch to .gitlab --- .common/Makefile | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .common/Makefile diff --git a/.common/Makefile b/.common/Makefile deleted file mode 100644 index 0792771..0000000 --- a/.common/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -SHELL := /bin/bash - -IMAGE ?= $(shell cat IMAGE):$(shell cat VERSION) -IMAGE_LATEST ?= $(shell cat IMAGE):latest -PWD ?= $(shell pwd) - -.PHONY: buildx-context -buildx-context: - docker buildx create --name arm64 --use --platform linux/amd64,linux/arm64 - -.PHONY: buildx-clear -buildx-clear: - docker buildx rm arm64 - -.PHONY: build -build: - docker buildx build --load . -t $(IMAGE) - @docker buildx build --load . -t $(IMAGE_LATEST) - -.PHONY: push -push: - docker buildx build --platform linux/amd64 --push . -t $(IMAGE) - @docker buildx build --platform linux/amd64 --push . -t $(IMAGE_LATEST) - -.PHONY: run -run: - docker run -it -v $(PWD):/mc_data $(IMAGE) bash