Skip to content

Commit

Permalink
Dockerfile update (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Harsh <[email protected]>
  • Loading branch information
harshcommits and Harsh authored Nov 28, 2022
1 parent 41aa469 commit 6979625
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
############# builder
FROM golang:1.18 AS builder
FROM golang:1.19.1 AS builder

WORKDIR /go/src/github.com/ujwaliyer/gardener-extension-provider-dns-infoblox
WORKDIR /go/src/gardener-extension-provider-dns-infoblox
COPY . .
RUN go mod tidy && go mod vendor
RUN chmod -R 777 vendor/
RUN make install

############# base image
FROM alpine:3.13.7 AS base

############# gardener-extension-provider-dns-cloudflare
############# gardener-extension-provider-dns-infoblox
FROM base AS gardener-extension-provider-dns-infoblox

COPY charts /charts
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ check:

.PHONY: check-docforge
check-docforge: $(DOCFORGE)
@$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check-docforge.sh $(REPO_ROOT) $(REPO_ROOT)/.docforge/manifest.yaml ".docforge/;docs/" "gardener-extension-provider-dns-cloudflare" false
@$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check-docforge.sh $(REPO_ROOT) $(REPO_ROOT)/.docforge/manifest.yaml ".docforge/;docs/" "gardener-extension-provider-dns-infoblox" false

.PHONY: generate
generate:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- define "name" -}}
gardener-extension-provider-dns-cloudflare
gardener-extension-provider-dns-infoblox
{{- end -}}

{{- define "labels.app.key" -}}
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ require (
github.com/infobloxopen/infoblox-go-client/v2 v2.1.1
github.com/onsi/ginkgo/v2 v2.1.6
github.com/onsi/gomega v1.20.1
github.com/schrodit/gardener-extension-provider-dns-cloudflare v0.0.2
github.com/spf13/cobra v1.2.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.13.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,6 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/schrodit/gardener-extension-provider-dns-cloudflare v0.0.2 h1:/9nkqrfKO8OP2eIOZqtzDR2dk/FEJtOe9udQGH5bApk=
github.com/schrodit/gardener-extension-provider-dns-cloudflare v0.0.2/go.mod h1:MQAYH192DEZwOJEKqEWxo3x4bJf81rykyk2cf4sAurY=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
Expand Down
2 changes: 1 addition & 1 deletion hack/hook-me.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

./vendor/github.com/gardener/gardener/hack/hook-me.sh cloudflare-dns $@
./vendor/github.com/gardener/gardener/hack/hook-me.sh infoblox-dns $@
3 changes: 2 additions & 1 deletion pkg/apis/config/v1alpha1/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6979625

Please sign in to comment.