From 514f542bb633940b5dcc43a717d89f6e8c30d818 Mon Sep 17 00:00:00 2001 From: Raghav Sharma <92998665+rs0125@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:35:19 +0530 Subject: [PATCH 1/2] Update Makefile Fixed docker build issue (Broken buildx) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 679b22e..3abcc09 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ UID=$(shell id -u $(USER)) # build the docker image .PHONY: build_image -build_image: clean_docker - DOCKER_BUILDKIT=1 docker build -f docker/$(CONTAINERNAME)/Dockerfile . \ +build_image: + DOCKER_BUILDKIT=0 docker build -f docker/$(CONTAINERNAME)/Dockerfile . \ -t $(VENDORNAME)/$(PROJECTNAME)/$(CONTAINERNAME):dev --build-arg uid=$(UID) --build-arg user=$(USER) # compile the .gba file and run in in your emulator From e625406d1f4da45da993acf4ae5a82a4c76d57df Mon Sep 17 00:00:00 2001 From: Raghav Sharma <92998665+rs0125@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:47:06 +0530 Subject: [PATCH 2/2] Update Makefile added clean docker in, removed "DOCKER_BUILDKIT=0" to use the default build engine --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3abcc09..9e95155 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ UID=$(shell id -u $(USER)) # build the docker image .PHONY: build_image -build_image: - DOCKER_BUILDKIT=0 docker build -f docker/$(CONTAINERNAME)/Dockerfile . \ +build_image: clean_docker + docker build -f docker/$(CONTAINERNAME)/Dockerfile . \ -t $(VENDORNAME)/$(PROJECTNAME)/$(CONTAINERNAME):dev --build-arg uid=$(UID) --build-arg user=$(USER) # compile the .gba file and run in in your emulator