Still trying to fix the hatch vcs build issues
This commit is contained in:
@@ -83,7 +83,6 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
|||||||
|
|
||||||
COPY /brewman ./
|
COPY /brewman ./
|
||||||
COPY --from=builder /frontend/browser /app/frontend
|
COPY --from=builder /frontend/browser /app/frontend
|
||||||
RUN ls -lah
|
|
||||||
|
|
||||||
# Sync the project
|
# Sync the project
|
||||||
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers
|
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers
|
||||||
|
|||||||
@@ -23,3 +23,14 @@ build-check: ## Multi-arch build without push (compile check). Usage: make build
|
|||||||
--pull \
|
--pull \
|
||||||
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(TAG) \
|
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(TAG) \
|
||||||
https://git.tanshu.com/tanshu/brewman.git#v$(TAG)
|
https://git.tanshu.com/tanshu/brewman.git#v$(TAG)
|
||||||
|
|
||||||
|
.PHONY: build-check-local
|
||||||
|
build-check-local: ## Multi-arch build without push (compile check). Usage: make build-check TAG=15.4.0
|
||||||
|
@echo "Building image..."
|
||||||
|
@podman manifest rm brewman:test 2>/dev/null || true
|
||||||
|
@podman build \
|
||||||
|
--platform linux/amd64 \
|
||||||
|
--manifest brewman:test \
|
||||||
|
--no-cache \
|
||||||
|
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(TAG) \
|
||||||
|
.
|
||||||
|
|||||||
Reference in New Issue
Block a user