소스 검색

fix(build) fix local build

docker build is now an alias for docker buildx, so we need to load the
images in order for the next steps to work since images rely on
previously built images.
Saúl Ibarra Corretgé 3 달 전
부모
커밋
1f7544c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -33,8 +33,9 @@ $(addprefix buildx_,$(JITSI_SERVICES)):
 	$(MAKE) --no-print-directory JITSI_SERVICE=$(patsubst buildx_%,%,$@) buildx
 
 build:
-	docker build \
+	docker buildx build \
 		$(BUILD_ARGS) \
+		--load \
 		--progress plain \
 		--tag $(JITSI_REPO)/$(JITSI_SERVICE) \
 		$(JITSI_SERVICE)