diff --git a/charts/client/Chart.yaml b/charts/client/Chart.yaml index 79ef4335..53bf6cf1 100644 --- a/charts/client/Chart.yaml +++ b/charts/client/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.0 +version: 1.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/dockerfiles/migration/Dockerfile b/dockerfiles/migration/Dockerfile index 6de44b79..57d90bfc 100644 --- a/dockerfiles/migration/Dockerfile +++ b/dockerfiles/migration/Dockerfile @@ -1,27 +1,3 @@ -# Build the manager binary -FROM golang:1.20 as builder - -WORKDIR /workspace -# Copy the Go Modules manifests -COPY ./ ./ -RUN go mod download - -# Build -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o migration cmd/cli/main.go - -# Use distroless as minimal base image to package the manager binary -# Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM gcr.io/distroless/static:nonroot -WORKDIR / -COPY --from=builder /workspace/migration . -COPY /workspace/sql /sql -COPY /workspace/script /script -RUN chmod +x /script/wait-for-clickhouse.sh -USER 65532:65532 - -ENTRYPOINT ["/migration"] - - FROM golang:1.20 as builder WORKDIR /workspace