Skip to content

Commit

Permalink
Rename Dockerfiles
Browse files Browse the repository at this point in the history
This commit fixes OCPBUGS-38475.

https://issues.redhat.com/browse/OCPBUGS-38475

* images/router/base/Dockerfile.ocp: Renamed from Dockerfile.rhel
* images/router/haproxy/Dockerfile.ocp: Renamed from Dockerfile.rhel8
to a version independent name.
  • Loading branch information
grzpiotrowski committed Aug 16, 2024
1 parent a731372 commit 3c40489
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all build check images/router/*/Dockerfile images/router/*/Dockerfile.rhel
.PHONY: all build check images/router/*/Dockerfile images/router/*/Dockerfile.ocp

PACKAGE=github.com/openshift/router
MAIN_PACKAGE=$(PACKAGE)/cmd/openshift-router
Expand Down Expand Up @@ -33,8 +33,8 @@ build:
images/router/*/Dockerfile: images/router/base/Dockerfile
imagebuilder -t registry.svc.ci.openshift.org/openshift/origin-v4.0:`basename $(@D)`-router -f images/router/`basename $(@D)`/Dockerfile .

images/router/*/Dockerfile.rhel: images/router/base/Dockerfile.rhel
imagebuilder -t registry.svc.ci.openshift.org/ocp/4.0:`basename $(@D)`-router -f images/router/`basename $(@D)`/Dockerfile.rhel .
images/router/*/Dockerfile.ocp: images/router/base/Dockerfile.ocp
imagebuilder -t registry.svc.ci.openshift.org/ocp/4.0:`basename $(@D)`-router -f images/router/`basename $(@D)`/Dockerfile.ocp .

check:
CGO_ENABLED=1 $(GO) test -race ./...
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3c40489

Please sign in to comment.