From 218682886d9d143cd23dcdc63c5f3a7cce9381d1 Mon Sep 17 00:00:00 2001 From: inovindasari Date: Tue, 25 Nov 2025 14:01:18 +0100 Subject: [PATCH] fix local naming and base image --- Makefile | 2 +- ui/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 078fae28b..4f0e207d7 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ LDFLAGS ?= -X=main.version=$(VERSION) DOCKERDIR = docker BASE_IMAGE ?= alpine:latest -IMAGE ?= ghcr.io/zalando/$(BINARY) +IMAGE ?= $(BINARY) TAG ?= $(VERSION) GITHEAD = $(shell git rev-parse --short HEAD) GITURL = $(shell git config --get remote.origin.url) diff --git a/ui/Makefile b/ui/Makefile index 937cc2c5e..70c2018db 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -1,7 +1,7 @@ .PHONY: clean test appjs docker push mock -IMAGE ?= ghcr.io/zalando/postgres-operator-ui -BASE_IMAGE ?= alpine +IMAGE ?= postgres-operator-ui +BASE_IMAGE ?= python:3.11-slim VERSION ?= $(shell git describe --tags --always --dirty) TAG ?= $(VERSION) GITHEAD = $(shell git rev-parse --short HEAD) @@ -31,7 +31,7 @@ docker: appjs echo "Version ${VERSION}" echo "CDP tag ${CDP_TAG}" echo "git describe $(shell git describe --tags --always --dirty)" - docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)" -f Dockerfile --build-arg BASE_IMAGE="${BASE_IMAGE}" --build-arg . + docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)" -f Dockerfile --build-arg BASE_IMAGE="${BASE_IMAGE}" . docker-push: appjs echo "Tag ${TAG}"