diff --git a/build/full/Dockerfile b/build/full/Dockerfile index 30be81c5c..e6081edb9 100644 --- a/build/full/Dockerfile +++ b/build/full/Dockerfile @@ -76,9 +76,6 @@ RUN curl -L https://github.com/multiprocessio/dsq/releases/download/v0.23.0/dsq- mv dsq /usr/local/bin/dsq && \ rm dsq.zip -# install CA certificates -COPY --from=builder /app/.bin/canary-checker /app - # Install alexellis/arkade as root RUN curl -sLS https://get.arkade.dev | sh @@ -107,5 +104,7 @@ RUN curl -sL -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/googl ln -sf /app/google-cloud-sdk/bin/gcloud ${HOME}/bin/gcloud && \ rm google-cloud-cli-441.0.0-linux-x86_64.tar.gz +COPY --from=builder /app/.bin/canary-checker /app + RUN /app/canary-checker go-offline ENTRYPOINT ["/app/canary-checker"] diff --git a/checks/common.go b/checks/common.go index 858543626..09628cfa0 100644 --- a/checks/common.go +++ b/checks/common.go @@ -91,9 +91,7 @@ func transform(ctx *context.Context, in *pkg.CheckResult) ([]*pkg.CheckResult, e if r.Canary.Labels == nil { r.Canary.Labels = make(map[string]string) } - for k, v := range t.Labels { - r.Canary.Labels[k] = v - } + // We use this label to set the transformed column to true // This label is used and then removed in pkg.FromV1 function r.Canary.Labels["transformed"] = "true" //nolint:goconst