Skip to content

Commit 921d982

Browse files
committed
move Dockerfile to build to satisfy boilerplate convention
1 parent 71be6d5 commit 921d982

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
include project.mk
1+
IMAGE_REGISTRY?=quay.io
2+
IMAGE_REPOSITORY?=app-sre
3+
IMAGE_NAME?=configuration-anomaly-detection
4+
DOCKERFILE?=./build/Dockerfile
5+
define ADDITIONAL_IMAGE_SPECS
6+
./build/Dockerfile $(IMAGE_REGISTRY)/$(IMAGE_REPOSITORY)/$(IMAGE_NAME):$(CURRENT_COMMIT)
7+
endef
8+
29
include boilerplate/generated-includes.mk
310

411
GOLANGCI_LINT_VERSION=v1.59.1
@@ -121,4 +128,4 @@ install-linter: check-curl-install check-go121-install
121128

122129
.PHONY: install-mockgen
123130
install-mockgen: check-go121-install
124-
@type mockgen 1> /dev/null || (echo && echo "Installing 'mockgen'..." && go install go.uber.org/mock/mockgen@$(MOCKGEN_VERSION))
131+
@type mockgen 1> /dev/null || (echo && echo "Installing 'mockgen'..." && go install go.uber.org/mock/mockgen@$(MOCKGEN_VERSION))

Dockerfile renamed to build/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG BUILDER_IMG=registry.ci.openshift.org/openshift/release:golang-1.21
2-
FROM $BUILDER_IMG as builder
1+
FROM quay.io/redhat-services-prod/openshift/boilerplate:image-v6.0.1 as builder
32

43
ADD . /opt
54
WORKDIR /opt

0 commit comments

Comments
 (0)