From ad6b9b99931d7524806f79b1329fdda82c75a715 Mon Sep 17 00:00:00 2001 From: Daniel Pacak Date: Wed, 14 Oct 2020 21:52:06 +0200 Subject: [PATCH] chore: Rename Dockerfiles so they are automatically recognized by IDEs (#206) Signed-off-by: Daniel Pacak --- .goreleaser.yaml | 6 +++--- Makefile | 6 +++--- ...file.starboard-operator => starboard-operator.Dockerfile | 0 ...rboard-scanner-aqua => starboard-scanner-aqua.Dockerfile | 0 Dockerfile.starboard => starboard.Dockerfile | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename Dockerfile.starboard-operator => starboard-operator.Dockerfile (100%) rename Dockerfile.starboard-scanner-aqua => starboard-scanner-aqua.Dockerfile (100%) rename Dockerfile.starboard => starboard.Dockerfile (100%) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 33e1a68e8..535b8f07a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -49,7 +49,7 @@ changelog: - '^test' - '^release' dockers: - - dockerfile: Dockerfile.starboard + - dockerfile: starboard.Dockerfile image_templates: - "docker.io/aquasec/starboard:{{ .Version }}" binaries: @@ -63,7 +63,7 @@ dockers: - "--label=org.label-schema.build-date={{ .Date }}" - "--label=org.label-schema.vcs=https://github.com/aquasecurity/starboard" - "--label=org.label-schema.vcs-ref={{ .FullCommit }}" - - dockerfile: Dockerfile.starboard-operator + - dockerfile: starboard-operator.Dockerfile image_templates: - "docker.io/aquasec/starboard-operator:{{ .Version }}" binaries: @@ -77,7 +77,7 @@ dockers: - "--label=org.label-schema.build-date={{ .Date }}" - "--label=org.label-schema.vcs=https://github.com/aquasecurity/starboard" - "--label=org.label-schema.vcs-ref={{ .FullCommit }}" - - dockerfile: Dockerfile.starboard-scanner-aqua + - dockerfile: starboard-scanner-aqua.Dockerfile image_templates: - "docker.io/aquasec/starboard-scanner-aqua:{{ .Version }}" binaries: diff --git a/Makefile b/Makefile index 13cbcc901..f2a83c201 100644 --- a/Makefile +++ b/Makefile @@ -86,12 +86,12 @@ docker-build: docker-build-starboard-cli docker-build-starboard-operator docker- ## Builds Docker image for Starboard CLI docker-build-starboard-cli: build-starboard-cli - docker build --no-cache -t $(STARBOARD_CLI_IMAGE) -f Dockerfile.starboard bin + docker build --no-cache -t $(STARBOARD_CLI_IMAGE) -f starboard.Dockerfile bin ## Builds Docker image for Starboard operator docker-build-starboard-operator: build-starboard-operator - docker build --no-cache -t $(STARBOARD_OPERATOR_IMAGE) -f Dockerfile.starboard-operator bin + docker build --no-cache -t $(STARBOARD_OPERATOR_IMAGE) -f starboard-operator.Dockerfile bin ## Builds Docker image for Aqua scanner docker-build-starboard-scanner-aqua: build-starboard-scanner-aqua - docker build --no-cache -t $(STARBOARD_SCANNER_AQUA_IMAGE) -f Dockerfile.starboard-scanner-aqua bin + docker build --no-cache -t $(STARBOARD_SCANNER_AQUA_IMAGE) -f starboard-scanner-aqua.Dockerfile bin diff --git a/Dockerfile.starboard-operator b/starboard-operator.Dockerfile similarity index 100% rename from Dockerfile.starboard-operator rename to starboard-operator.Dockerfile diff --git a/Dockerfile.starboard-scanner-aqua b/starboard-scanner-aqua.Dockerfile similarity index 100% rename from Dockerfile.starboard-scanner-aqua rename to starboard-scanner-aqua.Dockerfile diff --git a/Dockerfile.starboard b/starboard.Dockerfile similarity index 100% rename from Dockerfile.starboard rename to starboard.Dockerfile