Skip to content

Commit

Permalink
🔥 remove dockfmt
Browse files Browse the repository at this point in the history
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
  • Loading branch information
rinx committed Jul 6, 2020
1 parent 3bbadff commit 8f45ea6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ TENSORFLOW_C_VERSION := $(eval TENSORFLOW_C_VERSION := $(shell cat versions/TENS

OPERATOR_SDK_VERSION := $(eval OPERATOR_SDK_VERSION := $(shell cat versions/OPERATOR_SDK_VERSION))$(OPERATOR_SDK_VERSION)

DOCKFMT_VERSION ?= v0.3.3
KIND_VERSION ?= v0.8.1
HELM_VERSION ?= v3.2.1
HELM_DOCS_VERSION ?= 0.13.0
Expand Down Expand Up @@ -242,20 +241,12 @@ format/yaml:
"hack/**/*.yaml" \
"k8s/**/*.yaml"

.PHONY: format/docker
format/docker:
dockfmt fmt -w \
dockers/*/Dockerfile \
dockers/*/*/Dockerfile \
dockers/*/*/*/Dockerfile

.PHONY: deps
## install dependencies
deps: \
proto/deps \
goimports/install \
prettier/install \
dockfmt/install
go mod tidy

.PHONY: goimports/install
Expand Down
15 changes: 0 additions & 15 deletions Makefile.d/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,3 @@ docker/name/loadtest:
## build loadtest image
docker/build/loadtest: docker/build/base
docker build -f dockers/tools/cli/loadtest/Dockerfile -t $(REPO)/$(LOADTEST_IMAGE) .

.PHONY: dockfmt/install
dockfmt/install: $(BINDIR)/dockfmt

ifeq ($(UNAME),Darwin)
$(BINDIR)/dockfmt:
mkdir -p $(BINDIR)
curl -fSL https://github.com/jessfraz/dockfmt/releases/download/$(DOCKFMT_VERSION)/dockfmt-darwin-amd64 -o $(BINDIR)/dockfmt
chmod a+x $(BINDIR)/dockfmt
else
$(BINDIR)/dockfmt:
mkdir -p $(BINDIR)
curl -fSL https://github.com/jessfraz/dockfmt/releases/download/$(DOCKFMT_VERSION)/dockfmt-linux-amd64 -o $(BINDIR)/dockfmt
chmod a+x $(BINDIR)/dockfmt
endif

0 comments on commit 8f45ea6

Please sign in to comment.