Skip to content

Commit

Permalink
Rename docker files
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 30, 2019
1 parent fe4bb85 commit 7302432
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 43 deletions.
17 changes: 15 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ BUILD_DIRS := bin/$(OS)_$(ARCH) \
$(HOME)/.kube \
$(HOME)/.minikube

DOCKERFILE_PROD = in.Dockerfile
DOCKERFILE_DBG = dbg.Dockerfile
DOCKERFILE_PROD = Dockerfile.in
DOCKERFILE_DBG = Dockerfile.dbg

DOCKER_REPO_ROOT := /go/src/$(GO_PKG)/$(REPO)

Expand Down Expand Up @@ -454,6 +454,19 @@ verify-gen: gen fmt
echo "generated files are out of date, run make gen fmt"; exit 1; \
fi

.PHONY: add-license
add-license:
@echo "Adding license header"
@docker run --rm \
-u $$(id -u):$$(id -g) \
-v /tmp:/.cache \
-v $$(pwd):$(DOCKER_REPO_ROOT) \
-w $(DOCKER_REPO_ROOT) \
--env HTTP_PROXY=$(HTTP_PROXY) \
--env HTTPS_PROXY=$(HTTPS_PROXY) \
$(BUILD_IMAGE) \
ltag -t "./hack/license" --excludes "vendor contrib" -v

.PHONY: check-license
check-license:
@echo "Checking files have proper license header"
Expand Down
19 changes: 0 additions & 19 deletions dbg.Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions in.Dockerfile

This file was deleted.

0 comments on commit 7302432

Please sign in to comment.